Skip to content

Commit 51c4b1f

Browse files
committed
Corrected a bug in roots() for LaurentPolynomial.
1 parent dad38c3 commit 51c4b1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/polynomials/LaurentPolynomial.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ julia> roots(a)
520520
function roots(p::P; kwargs...) where {T, P <: LaurentPolynomial{T}}
521521
c = coeffs(p)
522522
a = Polynomial(c,p.var)
523-
return roots(p; kwargs...)
523+
return roots(a; kwargs...)
524524
end
525525

526526
##

0 commit comments

Comments
 (0)