Skip to content

Commit

Permalink
divexact! does not return anything
Browse files Browse the repository at this point in the history
  • Loading branch information
joschmitt committed Sep 19, 2024
1 parent 2298255 commit c0a6274
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Rings/orderings.jl
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ function _canonical_matrix(w)
nw = view(w, i:i, :)
c = content(nw)
if !isone(c)
nw = divexact!(nw, nw, c)
divexact!(nw, nw, c)
end
for j in 1:k
h = piv[j]
Expand All @@ -141,7 +141,7 @@ function _canonical_matrix(w)
if !iszero(nw)
c = content(nw)
if !isone(c)
nw = divexact!(nw, nw, c)
divexact!(nw, nw, c)
end
ww[(k + 1):(k + 1), :] = nw
push!(piv, findfirst(x -> !is_zero_entry(nw, 1, x), 1:ncols(w)))
Expand Down

0 comments on commit c0a6274

Please sign in to comment.