Skip to content

Commit 1ebdbda

Browse files
committed
fix indentation
1 parent e2f20c8 commit 1ebdbda

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/flint/types/acb_series.pyx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,8 +293,8 @@ cdef class acb_series(flint_series):
293293
cap = getcap()
294294
cap = min(cap, (<acb_series>s).prec)
295295
if s.length() < 2 or (not acb_is_zero(&s.val.coeffs[0])) or \
296-
(acb_contains_zero(&s.val.coeffs[1])):
297-
raise ValueError("power series reversion requires valuation 1")
296+
(acb_contains_zero(&s.val.coeffs[1])):
297+
raise ValueError("power series reversion requires valuation 1")
298298
u = acb_series.__new__(acb_series)
299299
acb_poly_revert_series((<acb_series>u).val, (<acb_series>s).val, cap, getprec())
300300
(<acb_series>u).prec = cap

src/flint/types/arb_series.pyx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,8 +285,8 @@ cdef class arb_series(flint_series):
285285
cap = getcap()
286286
cap = min(cap, (<arb_series>s).prec)
287287
if s.length() < 2 or (not arb_is_zero(&s.val.coeffs[0])) or \
288-
(not arb_is_nonzero(&s.val.coeffs[1])):
289-
raise ValueError("power series reversion requires valuation 1")
288+
(not arb_is_nonzero(&s.val.coeffs[1])):
289+
raise ValueError("power series reversion requires valuation 1")
290290
u = arb_series.__new__(arb_series)
291291
arb_poly_revert_series((<arb_series>u).val, (<arb_series>s).val, cap, getprec())
292292
(<arb_series>u).prec = cap

src/flint/types/fq_default.pyx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -545,10 +545,10 @@ cdef class fq_default(flint_scalar):
545545
# For nmod and fmpz_mod if the modulus does not match the characteristic
546546
# then we return false.
547547
if typecheck(other, nmod) and self.ctx.characteristic() != (<nmod>other).modulus():
548-
res = False
548+
res = False
549549

550550
elif typecheck(other, fmpz_mod) and self.ctx.characteristic() != (<fmpz_mod>other).ctx.modulus():
551-
res = False
551+
res = False
552552

553553
else:
554554
# Convert from int, fmpz, fmpz_mod and nmod to fq_default

0 commit comments

Comments
 (0)