Skip to content

Commit 6c4fb2c

Browse files
committed
fix empty lines
1 parent 1ebdbda commit 6c4fb2c

File tree

8 files changed

+5
-6
lines changed

8 files changed

+5
-6
lines changed

src/flint/flintlib/arb.pxd

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,6 @@ cdef extern from "flint/arb.h":
254254

255255
void arb_lambertw(arb_t z, const arb_t x, int flags, long prec)
256256

257-
258257
void arb_rising_ui_bs(arb_t y, const arb_t x, ulong n, long prec)
259258
void arb_rising_ui_rs(arb_t y, const arb_t x, ulong n, ulong m, long prec)
260259
void arb_rising_ui_rec(arb_t y, const arb_t x, ulong n, long prec)

src/flint/flintlib/fmpq.pxd

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -218,9 +218,6 @@ cdef extern from "flint/fmpq.h":
218218
void fmpq_dedekind_sum(fmpq_t s, const fmpz_t h, const fmpz_t k)
219219
void fmpq_dedekind_sum_naive(fmpq_t s, const fmpz_t h, const fmpz_t k)
220220

221-
222-
223-
224221
# void fmpq_init(fmpq_t x)
225222
# void fmpq_clear(fmpq_t x)
226223
# void fmpq_zero(fmpq_t res)

src/flint/flintlib/nmod_poly.pxd

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,6 @@ cdef extern from "flint/nmod_poly.h":
364364
# const nmod_poly_struct * nmod_berlekamp_massey_V_poly(const nmod_berlekamp_massey_t B)
365365
# const nmod_poly_struct * nmod_berlekamp_massey_R_poly(const nmod_berlekamp_massey_t B)
366366

367-
368367
# void nmod_poly_init(nmod_poly_t poly, mp_limb_t n)
369368
# void nmod_poly_init_preinv(nmod_poly_t poly, mp_limb_t n, mp_limb_t ninv)
370369
# void nmod_poly_init2(nmod_poly_t poly, mp_limb_t n, long alloc)

src/flint/functions/showgood.pyx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ cdef goodstr(x):
3636
return x.str(radius=False)
3737
raise TypeError("must be a element/tuple/list of arb, acb, arb_mat, acb_mat, arb_poly, acb_poly, arb_series, or acb_series")
3838

39+
3940
def good(func, slong prec=0, slong maxprec=0, slong dps=0,
4041
slong maxdps=0, slong padding=10, bint verbose=False, bint show=False, bint parts=True, metric=None):
4142
"""
@@ -113,6 +114,7 @@ def good(func, slong prec=0, slong maxprec=0, slong dps=0,
113114
ctx.prec = orig
114115
raise ValueError("no convergence (maxprec=%i, try higher maxprec)" % maxprec)
115116

117+
116118
def showgood(func, **kwargs):
117119
"""
118120
Evaluates *func* accurately with :func:`good`, printing the decimal

src/flint/types/acb.pyx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ cdef any_as_arb_or_acb(x):
9797
return acb(x)
9898
"""
9999

100+
100101
# Copied with modifications from sage/rings/complex_arb.pyx
101102
@cython.internal
102103
cdef class IntegrationContext:

src/flint/types/acb_theta.pyx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ from flint.flintlib.acb cimport *
55
from flint.flintlib.acb_mat cimport *
66
from flint.flintlib.acb_theta cimport *
77

8+
89
def acb_theta(acb_mat z, acb_mat tau, ulong square=False):
910
r"""
1011
Computes the vector valued Riemann theta function

src/flint/types/arb_series.pyx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -803,6 +803,7 @@ cdef class arb_series(flint_series):
803803
804804
"""
805805
orig_cap = ctx.cap
806+
806807
def xsgn(x):
807808
if x < 0:
808809
return -1

src/flint/types/fmpz_mod.pyx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,6 @@ cdef class fmpz_mod(flint_scalar):
409409
else:
410410
return not res
411411

412-
413412
def __bool__(self):
414413
return not self.is_zero()
415414

0 commit comments

Comments
 (0)