Ticket #2843: padics_ZZ_pXModulus_fix.patch

File padics_ZZ_pXModulus_fix.patch, 1.6 KB (added by roed, 14 years ago)

Should be used instead of compile_fix.

  • sage/rings/padics/pow_computer_ext.pyx

    # HG changeset patch
    # User David Roe <roed@math.harvard.edu>
    # Date 1207884441 14400
    # Node ID e2a15557ede8915b82e1802434595d572d0af381
    # Parent  d063c34cef0be42ba5ac5ad40a692b1e25ce48c7
    Changed eis_shift_a back to eis_shift.
    
    diff -r d063c34cef0b -r e2a15557ede8 sage/rings/padics/pow_computer_ext.pyx
    a b cdef class PowComputer_ZZ_pX_FM_Eis(PowC 
    12931293        sage_free(self.high_shifter)
    12941294
    12951295    cdef int eis_shift(self, ZZ_pX_c* x, ZZ_pX_c* a, long n, long finalprec) except -1:
    1296         return ZZ_pX_eis_shift_a(self, x, a, n, finalprec)
     1296        return ZZ_pX_eis_shift(self, x, a, n, finalprec)
    12971297
    12981298#         ##print "starting..."
    12991299#         cdef ZZ_pX_c low_part
    cdef class PowComputer_ZZ_pX_small_Eis(P 
    16231623        sage_free(self.high_shifter)
    16241624
    16251625    cdef int eis_shift(self, ZZ_pX_c* x, ZZ_pX_c* a, long n, long finalprec) except -1:
    1626         return ZZ_pX_eis_shift_a(self, x, a, n, finalprec)
     1626        return ZZ_pX_eis_shift(self, x, a, n, finalprec)
    16271627
    16281628cdef class PowComputer_ZZ_pX_big(PowComputer_ZZ_pX):
    16291629    """
    cdef class PowComputer_ZZ_pX_big_Eis(Pow 
    19211921        sage_free(self.high_shifter)
    19221922
    19231923    cdef int eis_shift(self, ZZ_pX_c* x, ZZ_pX_c* a, long n, long finalprec) except -1:
    1924         return ZZ_pX_eis_shift_a(self, x, a, n, finalprec)
     1924        return ZZ_pX_eis_shift(self, x, a, n, finalprec)
    19251925
    19261926def PowComputer_ext_maker(prime, cache_limit, prec_cap, ram_prec_cap, in_field, poly, prec_type = "small", ext_type = "u", shift_seed = None):
    19271927    """