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 11, 2024
1 parent 595abf7 commit e7a1391
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) # FIXME this looks fishy
S[j, j] = S[i, i]*divexact(S[j, j], d)
S[i, i] = d
end
end
Expand Down

0 comments on commit e7a1391

Please sign in to comment.