[SciPy-Dev] signal.ltisys test crashes on windows
Ralf Gommers
ralf.gommers@googlemail....
Fri Jun 4 09:11:42 CDT 2010
The offending test, (0, 3, 3) of:
class TestSS2TF:
def tst_matrix_shapes(self, p, q, r):
ss2tf(np.zeros((p, p)),
np.zeros((p, q)),
np.zeros((r, p)),
np.zeros((r, q)), 0)
def test_basic(self):
for p, q, r in [
(3, 3, 3),
(0, 3, 3),
(1, 1, 1)]:
yield self.tst_matrix_shapes, p, q, r
The 0 causes an empty array to be passed to ss2tf, which crashes the
interpreter on Windows XP for both 2.5 and 2.6. Is the empty array really
what was intended with this test?
Thanks,
Ralf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-dev/attachments/20100604/87f044f7/attachment.html
More information about the SciPy-Dev
mailing list