From: <ag...@no...> - 2006-01-24 22:32:53
|
A curious problem (0.9.5.1993): n [12]: theta3 =numpy.zeros(66,dtype=float32) --------------------------------------------------------------------------- exceptions.NameError Traceback (most recent call last) /working/jrd/mod2/agn/OCCAM/AGN_GLOBAL/<ipython console> NameError: name 'float32' is not defined But n [14]: theta3 =numpy.zeros(66,dtype='f') In [15]: theta3 Out[15]: array([ 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0.], dtype=float32) George Nuresr ----------------------------------------------------------------------- National Oceanography Centre, Southampton :: http://www.noc.soton.ac.uk |