Skip to content
This repository was archived by the owner on Feb 1, 2023. It is now read-only.

Commit 3aae21d

Browse files
committed
Revert "Trac #25218: fix typo"
This reverts commit 592e263.
1 parent 38771d3 commit 3aae21d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sage/rings/number_field/number_field_element.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2332,7 +2332,7 @@ cdef class NumberFieldElement(FieldElement):
23322332
"""
23332333
if (isinstance(base, NumberFieldElement) and
23342334
(isinstance(exp, Integer) or type(exp) is int or exp in ZZ)):
2335-
return generic_power(base, exp)
2335+
return generic_power_c(base, exp)
23362336

23372337
if (isinstance(base, NumberFieldElement) and exp in QQ):
23382338
qqexp=QQ(exp)

0 commit comments

Comments
 (0)