Skip to content

Commit

Permalink
Fix snf_with_transform issue over non-domain
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin committed Nov 12, 2024
1 parent 3ed3ea9 commit cd154a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Matrix.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5285,7 +5285,7 @@ function snf_kb!(S::MatrixElem{T}, U::MatrixElem{T}, K::MatrixElem{T}, with_traf
K[r, j] = reduce!(t1 + t2)
end
end
S[j, j] = divexact(S[i, i]*S[j, j], d)
S[j, j] = S[i, i]*divexact(S[j, j], d)
S[i, i] = d
end
end
Expand Down

0 comments on commit cd154a2

Please sign in to comment.