File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -532,9 +532,9 @@ cdef extern from "flint/fmpq.h":
532532cdef extern from " flint/fmpq_poly.h" :
533533 ctypedef struct fmpq_poly_struct:
534534 fmpz_struct * coeffs
535- fmpz_t den
536535 long alloc
537536 long length
537+ fmpz_t den
538538 ctypedef fmpq_poly_struct fmpq_poly_t[1 ]
539539 void fmpq_poly_init(fmpq_poly_t poly)
540540 void fmpq_poly_init2(fmpq_poly_t poly, long alloc)
@@ -703,7 +703,7 @@ cdef extern from "flint/fmpq_mat.h":
703703cdef extern from " flint/arith.h" :
704704 void arith_number_of_partitions(fmpz_t res, ulong n)
705705 int arith_moebius_mu(fmpz_t n)
706- void arith_divisor_sigma(fmpz_t v, fmpz_t n, ulong k )
706+ void arith_divisor_sigma(fmpz_t v, ulong k, fmpz_t n )
707707 void arith_euler_phi(fmpz_t v, fmpz_t n)
708708 void arith_bell_number(fmpz_t v, ulong n)
709709 void arith_euler_number(fmpz_t v, ulong n)
Original file line number Diff line number Diff line change @@ -559,7 +559,7 @@ cdef class fmpz(flint_scalar):
559559 605263138639095300
560560 """
561561 cdef fmpz v = fmpz()
562- arith_divisor_sigma(v.val, n.val, k )
562+ arith_divisor_sigma(v.val, k, n.val)
563563 return v
564564
565565 def euler_phi (n ):
You can’t perform that action at this time.
0 commit comments