File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4848 raise ValueError ("numerix selector must be either 'Numeric' or 'numarray' but the value obtained from the %s was '%s'." % (which [1 ], which [0 ]))
4949
5050if which [0 ] == "numarray" :
51- try :
52- from na_imports import *
53- except ImportError :
54- print >> sys .stderr , "numarray import failed... trying Numeric."
55- which = "numeric" , "numarray import error"
56- from nc_imports import *
51+ from na_imports import *
5752elif which [0 ] == "numeric" :
58- try :
59- from nc_imports import *
60- except ImportError :
61- if which [1 ] != "defaulted" :
62- print >> sys .stderr , "Numeric import failed... trying numarray."
63- which = "numarray" , "Numeric import error"
64- else :
65- which = "numarray" , "defaulted"
66- from na_imports import *
53+ from nc_imports import *
6754else :
6855 raise RuntimeError ("invalid numerix selector" )
6956
You can’t perform that action at this time.
0 commit comments