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

Commit

Permalink
Trac #25218: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Brent Baccala committed Apr 20, 2018
1 parent 087174b commit 592e263
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/rings/number_field/number_field_element.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -2216,7 +2216,7 @@ cdef class NumberFieldElement(FieldElement):
"""
if (isinstance(base, NumberFieldElement) and
(isinstance(exp, Integer) or type(exp) is int or exp in ZZ)):
return generic_power_c(base, exp)
return generic_power(base, exp)

if (isinstance(base, NumberFieldElement) and exp in QQ):
qqexp=QQ(exp)
Expand Down

0 comments on commit 592e263

Please sign in to comment.