[SciPy-Dev] __bool__ for sparse matrices

Blake Griffith blake.a.griffith@gmail....
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 <pav@iki.fi> 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
> SciPy-Dev@scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-dev/attachments/20130619/a83deedd/attachment.html 

More information about the SciPy-Dev mailing list