Skip to content

Commit d57321a

Browse files
committed
Fix syntax error in previous push
1 parent 14c82e4 commit d57321a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sage/rings/integer.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2857,7 +2857,7 @@ cdef class Integer(sage.structure.element.EuclideanDomainElement):
28572857
if elog == -sage.rings.infinity.infinity or m**elog == self:
28582858
return elog
28592859

2860-
if (isinstance(m, Rational):
2860+
if (isinstance(m, Rational)
28612861
and m.numer() == 1):
28622862
elog = -self.exact_log(m.denom())
28632863
if m**elog == self:

0 commit comments

Comments
 (0)