Skip to content

Commit

Permalink
use cartan_matrix_inv
Browse files Browse the repository at this point in the history
  • Loading branch information
felix-roehrich committed Sep 18, 2024
1 parent b9edc0a commit 6ecb671
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion experimental/LieAlgebras/src/PathModel.jl
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ function (P::LSPathModel)(v::Vector{<:IntegerUnion})
end

function (P::LSPathModel)(w::WeightLatticeElem)
nf = inv(QQ.(cartan_matrix(root_system(P)))) * coefficients(P.wt - w)
nf = cartan_matrix_inv(root_system(P)) * coefficients(P.wt - w)
if !all(is_integral, nf)
return LSPathModelElem[]
end
Expand Down

0 comments on commit 6ecb671

Please sign in to comment.