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

Commit 38771d3

Browse files
committed
Revert "25218: space fixes"
This reverts commit 17b93d6.
1 parent f976c52 commit 38771d3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/sage/rings/number_field/number_field_element.pyx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2335,13 +2335,13 @@ cdef class NumberFieldElement(FieldElement):
23352335
return generic_power(base, exp)
23362336

23372337
if (isinstance(base, NumberFieldElement) and exp in QQ):
2338-
qqexp = QQ(exp)
2338+
qqexp=QQ(exp)
23392339
n = qqexp.numerator()
23402340
d = qqexp.denominator()
23412341
try:
2342-
return base.nth_root(d)**n
2342+
return base.nth_root(d)**n
23432343
except ValueError:
2344-
pass
2344+
pass
23452345

23462346
cbase, cexp = canonical_coercion(base, exp)
23472347
if not isinstance(cbase, NumberFieldElement):

0 commit comments

Comments
 (0)