Skip to content

Commit a7a58af

Browse files
committed
Update show.jl
This enables basic functionality for Poly{DoubleDouble.Double{T}} ando other types.
1 parent 1463562 commit a7a58af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/show.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ function printterm{T}(io::IO,p::Poly{T},j,first)
1919
if pj == zero(T)
2020
return false
2121
end
22-
neg = pj < 0
22+
neg = pj < zero(T)
2323
if first
2424
neg && print(io, "-") #Prepend - if first and negative
2525
else

0 commit comments

Comments
 (0)