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

Commit

Permalink
remove code duplicate
Browse files Browse the repository at this point in the history
  • Loading branch information
behackl committed Sep 29, 2015
1 parent f0b759a commit b37740f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/sage/rings/asymptotic/asymptotic_ring.py
Original file line number Diff line number Diff line change
Expand Up @@ -907,11 +907,6 @@ def __pow__(self, power):
'implemented.' % (self, power))
return super(AsymptoticExpression, self).__pow__(power)

if len(self.summands) > 1:
raise NotImplementedError('Taking the sum %s to the '
'non-integer power %s not '
'implemented.' % (self, power))

P = self.parent()
if power not in P.growth_group.base():
raise ValueError('%s disallows taking %s '
Expand Down

0 comments on commit b37740f

Please sign in to comment.