Skip to content
Snippets Groups Projects
Commit 1811f0c9 authored by Krueger Jasmin's avatar Krueger Jasmin
Browse files

fixed replace_zeros!

parent 0feda195
No related branches found
No related tags found
No related merge requests found
......@@ -434,7 +434,7 @@ function replace_zeros!(p::PolyElem{T}, d, dp = -1, k = -1) where T
for i in 0:deg
if T <: PolyElem
set_coefficient!(p,i,replace_zeros!(coeff(p,i),d,dp,k))
else
elseif coeff(p,i) == 0
set_coefficient!(p,i,d)
end
end
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment