Changeset 7876:7dc2819cda5d


Ignore:
Timestamp:
12/23/07 08:02:26 (5 years ago)
Author:
Robert Miller <rlmillster@…>
Branch:
default
Tags:
2.9.1.rc3
Message:

random fixes for 2.9.1

Location:
sage
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • sage/libs/mwrank/all.py

    r7860 r7876  
    55__doc_exclude = []  # to include everything 
    66 
    7 #from interface import (mwrank_EllipticCurve, mwrank_MordellWeil, 
    8 #                       set_precision) 
     7from interface import (mwrank_EllipticCurve, mwrank_MordellWeil, 
     8                       set_precision) 
    99 
    10 #from mwrank import initprimes as mwrank_initprimes 
     10from mwrank import initprimes as mwrank_initprimes 
    1111 
    1212 
    1313 
    14 mwrank_initprimes = mwrank_EllipticCurve = mwrank_MordellWeil = set_precision = "" 
  • sage/libs/mwrank/interface.py

    r5825 r7876  
    8282        """ 
    8383        # import here to save time during startup (mwrank takes a while to init) 
     84 
    8485        from sage.libs.mwrank.mwrank import _Curvedata 
    85          
     86 
    8687        if not isinstance(ainvs, list) and len(ainvs) <= 5: 
    8788            raise TypeError, "ainvs must be a list of length at most 5." 
  • sage/plot/plot.py

    r7867 r7876  
    17051705        if coerce: 
    17061706            for z in points: 
    1707                 if len(z) == 3: 
     1707                if isinstance(z, (list,tuple)) and len(z) == 3: 
    17081708                    return self._graphic3d()(points, coerce=coerce, **kwds) 
    17091709                xdata.append(float(z[0])) 
     
    17111711        else: 
    17121712            for z in points: 
    1713                 if len(z) == 3: 
     1713                if isinstance(z, (list,tuple)) and len(z) == 3: 
    17141714                    return self._graphic3d()(points, coerce=coerce, **kwds) 
    17151715                xdata.append(z[0]) 
Note: See TracChangeset for help on using the changeset viewer.