We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc7af47 commit c8212d1Copy full SHA for c8212d1
src/complex.jl
@@ -171,7 +171,7 @@ function Base.conj(x::T) where {T<:AbstractTerm}
171
end
172
function Base.conj(x::P) where {P<:AbstractPolynomial}
173
return iszero(x) || isreal(x) ? MA.copy_if_mutable(x) :
174
- convert(P, polynomial([conj(t) for t in x]))
+ convert(P, polynomial([conj(t) for t in terms(x)]))
175
176
177
# Real and imaginary parts are harder to realize. The real part of a monomial can easily be a polynomial.
0 commit comments