Skip to content

Commit

Permalink
fix doctest (#414)
Browse files Browse the repository at this point in the history
modified the spacing
  • Loading branch information
jverzani authored May 31, 2022
1 parent 5574b86 commit 6a6be69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/polynomials/LaurentPolynomial.jl
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ julia> integrate(q)
LaurentPolynomial(1.0*x + 0.5*x² + 0.3333333333333333*x³)
julia> integrate(p) # x⁻¹ term is an issue
ERROR: ArgumentError: Can't integrate Laurent polynomial with `x⁻¹` term
ERROR: ArgumentError: Can't integrate Laurent polynomial with `x⁻¹` term
julia> integrate(P([1,1,1], -5))
LaurentPolynomial(-0.25*x⁻⁴ - 0.3333333333333333*x⁻³ - 0.5*x⁻²)
Expand Down

0 comments on commit 6a6be69

Please sign in to comment.