[SciPy-Dev] __bool__ for sparse matrices

Pauli Virtanen pav@iki...
Wed Jun 19 11:22:20 CDT 2013


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



More information about the SciPy-Dev mailing list