Skip to content

Commit ba751dd

Browse files
committed
showterm fix
1 parent 7f36cf3 commit ba751dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/polynomials/LaurentPolynomial.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,9 +259,9 @@ function showterm(io::IO, ::Type{<:LaurentPolynomial}, pj::T, var, j, first::Boo
259259
printcoefficient(io, pj, j, mimetype)
260260
end
261261
printproductsign(io, pj, j, mimetype)
262-
iszero(j) && return
262+
iszero(j) && return true
263263
print(io, var)
264-
j ==1 && return
264+
j ==1 && return true
265265
unicode_exponent(io, j)
266266
return true
267267
end

0 commit comments

Comments
 (0)