Skip to content

Commit

Permalink
Fix syntax error in previous push
Browse files Browse the repository at this point in the history
  • Loading branch information
jhpalmieri committed Aug 11, 2023
1 parent 14c82e4 commit d57321a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/rings/integer.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -2857,7 +2857,7 @@ cdef class Integer(sage.structure.element.EuclideanDomainElement):
if elog == -sage.rings.infinity.infinity or m**elog == self:
return elog

if (isinstance(m, Rational):
if (isinstance(m, Rational)
and m.numer() == 1):
elog = -self.exact_log(m.denom())
if m**elog == self:
Expand Down

0 comments on commit d57321a

Please sign in to comment.