Skip to content

Commit 4ab8d1a

Browse files
committed
Fix #2
1 parent 68294a0 commit 4ab8d1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Polynomials.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ function printterm{T<:Complex}(io::IO,p::Poly{T},j,first)
106106
if abs_impj > 2*eps(T) #Imag part is not 0
107107
print(io,'(',neg ? -pj : pj,')')
108108
else
109-
print(io, real(pj))
109+
print(io, neg ? -real(pj) : real(pj))
110110
end
111111
else
112112
if abs_impj > 2*eps(T)

0 commit comments

Comments
 (0)