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

Commit

Permalink
exponentiation of constant terms with base=None
Browse files Browse the repository at this point in the history
  • Loading branch information
behackl committed Sep 1, 2015
1 parent 0ea030c commit bb3f707
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/sage/rings/asymptotic/term_monoid.py
Original file line number Diff line number Diff line change
Expand Up @@ -3050,7 +3050,8 @@ def _construct_exp_(self, base=None):
base = 'e'

if self.is_constant():
return P(P.growth_group.one(), coefficient=base**self.coefficient)
return P(P.growth_group.one(),
coefficient=P.coefficient_ring(base)**self.coefficient)

elem = P(self.growth.rpow(base=base),
coefficient=P.coefficient_ring.one())
Expand Down

0 comments on commit bb3f707

Please sign in to comment.