Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
17426: cosmetics
Browse files Browse the repository at this point in the history
  • Loading branch information
rwst committed Oct 14, 2015
1 parent 23b24ef commit 9d1432a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/symbolic/ring.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ cdef class SymbolicRing(CommutativeRing):
GEx_construct_pyobject(exp, x)
elif isinstance(x, Factorization):
from sage.misc.all import prod
return prod([SR(p)**e for p,e in x], SR.one()) * SR(x.unit())
return prod([SR(p)**e for p,e in x], SR(x.unit())
else:
raise TypeError

Expand Down

0 comments on commit 9d1432a

Please sign in to comment.