Skip to content

Commit 8564bb0

Browse files
authored
fix: expressifying empty factored elements (#1672)
1 parent 7d52dcb commit 8564bb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Misc/FactoredElem.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ end
226226

227227
function AbstractAlgebra.expressify(x::FacElem; context=nothing)
228228
if length(x.fac) == 0
229-
return Expr(:1)
229+
return 1
230230
end
231231
prod = Expr(:call, :*)
232232
for (k,v) = x.fac

0 commit comments

Comments
 (0)