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.
On 8/10/06, Daran L. Rife <drife at ucar.edu> wrote:
> Hi Sasha,
>> > Inverting a matrix with masked values does not make much sense. Call
> > "filled" method with an appropriate fill value before passing the
> > matrix to "inv".
>> In principle you are right, but even though I use masked arrays
> in this operation, when the operation itself is done no masked
> values remain. Thus, my code works very well with the "old"
> Numeric--and has worked well for some time. That said, I will
> try your suggestion of doing a "filled" on the matrix before
> sending it off to the inverse module.
>>> Thanks,
>>> Daran
>> -------------------------------------------------------------------------
> 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 at lists.sourceforge.net>https://lists.sourceforge.net/lists/listinfo/numpy-discussion>