[SciPy-Dev] ltisys test

josef.pktd at gmail.com josef.pktd at gmail.com
Thu May 27 19:20:56 EDT 2010


On Thu, May 27, 2010 at 5:52 PM, Warren Weckesser
<warren.weckesser at enthought.com> wrote:
> On Mac OSX 10.5, scipy trunk with numpy 1.4.0 (from EPD 6.1), I also get
> the DGEEV error when run the ltisys tests:
>
> $ nosetests test_ltisys.py
> .Parameter 5 to routine DGEEV  was incorrect
> Mac OS BLAS parameter error in DGEEV , parameter #0, (unavailable), is 0
> $

crash in np.poly
>>> np.poly(np.zeros((0,0)))
 ** On entry to DGEEV  parameter number  5 had an illegal value


Warren, I think you could set the 0 to 1 in the ltisys test. that
would make more sense, or not?

Josef


>
>
> Warren
>
>
> josef.pktd at gmail.com wrote:
>> 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)]:
>>             print p, q, r
>>             self.tst_matrix_shapes( p, q, r)
>>
>> TestSS2TF().test_basic()
>>
>>
>>> tryltisys.py
>>>
>> 3 3 3
>> 0 3 3
>>  ** On entry to DGEEV  parameter number  5 had an illegal value
>>
>> crashes when p=0,  some system matrices have zero length in one axis.
>> Is this a good testcase?
>>
>> Josef
>> _______________________________________________
>> SciPy-Dev mailing list
>> SciPy-Dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/scipy-dev
>>
>
> _______________________________________________
> SciPy-Dev mailing list
> SciPy-Dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-dev
>



More information about the SciPy-Dev mailing list