Skip to content

Commit 4e319d1

Browse files
committed
fix expand
1 parent 4a41af8 commit 4e319d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/polyform.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ Expand expressions by distributing multiplication over addition, e.g.,
221221
multivariate polynomials implementation.
222222
`variable_type` can be any subtype of `MultivariatePolynomials.AbstractVariable`.
223223
"""
224-
expand(expr) = PolyForm(expr)
224+
expand(expr) = PolyForm(expr, Fs=Union{typeof(+), typeof(*), typeof(^)}, recurse=true)
225225

226226

227227
## Rational Polynomial form with Div

0 commit comments

Comments
 (0)