Skip to content

Commit

Permalink
Can't get around copying once
Browse files Browse the repository at this point in the history
  • Loading branch information
joschmitt committed Sep 19, 2024
1 parent 0e78024 commit 8d27ade
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Rings/mpoly-graded.jl
Original file line number Diff line number Diff line change
Expand Up @@ -990,7 +990,7 @@ function is_homogeneous(F::MPolyDecRingElem)
#addmul!(u, d[i], c[i])
end
if S === nothing
S = u
S = deepcopy(u)
elseif S != u
return false
end
Expand Down

0 comments on commit 8d27ade

Please sign in to comment.