This was just reported on mpl-dev:

In [1]: from numpy.oldnumeric import mlab

In [2]: mlab.eye(3)
---------------------------------------------------------------------------
exceptions.NameError                                 Traceback (most recent 
call last)

/home/darren/<ipython console>

/usr/lib64/python2.4/site-packages/numpy/oldnumeric/mlab.py in eye(N, M, k, 
typecode, dtype)
     22     dtype = convtypecode(typecode, dtype)
     23     if M is None: M = N
---> 24     m = nn.equal(nn.subtract.outer(nn.arange(N), nn.arange(M)),-k)
     25     if m.dtype != dtype:
     26         return m.astype(dtype)

NameError: global name 'nn' is not defined

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/numpy-discussion

Reply via email to