[Scipy-tickets] [SciPy] #800: numpy's test_poly1d_nan_roots is broken if scipy.linalg is imported
SciPy
scipy-tickets@scipy....
Thu Nov 27 13:13:50 CST 2008
#800: numpy's test_poly1d_nan_roots is broken if scipy.linalg is imported
--------------------------+-------------------------------------------------
Reporter: tzito | Owner: somebody
Type: defect | Status: new
Priority: high | Milestone: 0.7.0
Component: scipy.linalg | Version:
Severity: major | Resolution:
Keywords: |
--------------------------+-------------------------------------------------
Comment (by pv):
I'm not sure if Numpy code should use numpy.dual at all here: both code
paths AFAIK eventually end up in LAPACK (if available), so I'd think using
numpy.linalg instead of numpy.dual would be the right fix.
But, IMO scipy.linalg functions should be compatible with Numpy, so here
one of the two should be changed. ValueError probably is more apt
exception to raise, but I'd be careful here before breaking the Numpy API.
Also, the get_linalg_funcs construct in polynomials.py:26 looks a bit
strange; maybe this is a leftover from a time when numpy.linalg was an
optional part of Numpy?
--
Ticket URL: <http://scipy.org/scipy/scipy/ticket/800#comment:1>
SciPy <http://www.scipy.org/>
SciPy is open-source software for mathematics, science, and engineering.
More information about the Scipy-tickets
mailing list