[SciPy-Dev] __bool__ for sparse matrices
Wed Jun 19 12:18:48 CDT 2013
Okay, I will do this for now. I was exploring using numpy.set_numeric_ops,
as discussed in this SO question:
On Wed, Jun 19, 2013 at 11:22 AM, Pauli Virtanen <firstname.lastname@example.org> wrote:
> 19.06.2013 18:31, Blake Griffith kirjoitti:
> > It looks like the ndarray inequality methods are basically ufuncs. So
> > I'm running into the problem of overriding ufuncs.
> That's my understanding of the issue too.
> I think for the present, we can just ignore the dense matrix comparison
> tests that do not work, and just raise knownfailures in the tests. This
> is not a regression in functionality, as the ndarray comparisons with
> ndarray as left-hand-side op did not previously produce useful results.
> Pauli Virtanen
> SciPy-Dev mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SciPy-Dev