diff --git a/src/Misc/FactoredElem.jl b/src/Misc/FactoredElem.jl index 4c699a4755..ee9561a251 100644 --- a/src/Misc/FactoredElem.jl +++ b/src/Misc/FactoredElem.jl @@ -226,7 +226,7 @@ end function AbstractAlgebra.expressify(x::FacElem; context=nothing) if length(x.fac) == 0 - return Expr(:1) + return 1 end prod = Expr(:call, :*) for (k,v) = x.fac