Skip to content

Commit

Permalink
Refactor piecewiselinear.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
juliohm committed Oct 28, 2024
1 parent 8e6593b commit 6514b3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/theoretical/transiogram/piecewiselinear.jl
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function PiecewiseLinearTransiogram(abscissas::AbstractVector, ordinates::Abstra
SMatrix{m,m}(ordinates[i, j][k] for i in 1:m, j in 1:m)
end

# proportion matrix
# ordinate matrix at infinity
p = normalize(diag(last(O)), 1)
= SMatrix{m,m}(p[j] for i in 1:m, j in 1:m)

Expand Down

0 comments on commit 6514b3f

Please sign in to comment.