[Numpy-discussion] Problem with numpy.linalg.inv in numpy 1.01b on Mac OS X 10.4 Tiger (8.7.0)
oliphant.travis at ieee.org
Thu Aug 10 15:22:21 CDT 2006
> I see that Travis just fixed that by making context optional
> <http://projects.scipy.org/scipy/numpy/changeset/2987>. I am not sure
> it is a good idea to allow use of ufuncs for which domain is not
> defined in ma. This may lead to hard to find bugs coming from ma
> arrays with nans in the data. I would rather see linalg passing the
> (func,args) context to wrap. That would not fix the reported problem,
> but will make diagnostic clearer.
This can be done as well. The problem is that __array_wrap__ is used in
quite a few places (without context) and ma needs to have a default
behavior when context is not supplied.
More information about the Numpy-discussion