Ignore:
Timestamp:
05/19/09 16:11:30 (4 years ago)
Author:
Mike Hansen <mhansen@…>
Branch:
default
Message:

Updates for Pynac-0.1.7, main symbolics switch (#5930)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sage/schemes/elliptic_curves/ell_rational_field.py

    r12105 r12287  
    5454import sage.misc.misc as misc 
    5555from sage.misc.all import verbose  
    56 import sage.functions.constants as constants 
    5756import sage.modular.modform.constructor 
    5857import sage.modular.modform.element 
     
    28552854            -0.354172680517... + 0.874518681720...*I 
    28562855        """ 
     2856        from sage.all import pi 
     2857 
    28572858        s = C(s) 
    28582859        N = self.conductor() 
    2859         pi = R(constants.pi) 
    2860         from sage.calculus.calculus import gamma as Gamma 
     2860        pi = R(pi) 
     2861        from sage.functions.all import gamma as Gamma 
    28612862        Gamma_inc = transcendental.gamma_inc 
    28622863        a = self.anlist(prec) 
     
    56795680            roots.remove(e3) 
    56805681            e1,e2 = roots 
    5681   
     5682 
     5683        from sage.all import pi 
    56825684        e = R(1).exp() 
    5683         pi = R(constants.pi) 
     5685        pi = R(pi) 
    56845686 
    56855687        M = self.height_pairing_matrix(mw_base) 
Note: See TracChangeset for help on using the changeset viewer.