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

Commit

Permalink
fix behavior of non-real bases too
Browse files Browse the repository at this point in the history
  • Loading branch information
behackl committed Feb 3, 2016
1 parent 09959af commit 7881bb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sage/rings/asymptotic/growth_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -3438,8 +3438,8 @@ def _le_(self, other):
sage: P_ZZ((-2)^x) <= P_ZZ(2^x) or P_ZZ(2^x) <= P_ZZ((-2)^x)
False
"""
return bool(abs(self.base) <= abs(other.base)) and \
bool(self.base != -other.base)
return bool(abs(self.base) < abs(other.base)) or \
bool(self.base == other.base)


def _substitute_(self, rules):
Expand Down

0 comments on commit 7881bb3

Please sign in to comment.