arvoelke / nengolib

Nengo library of additional extensions
Other
29 stars 6 forks source link

[TST] 0-dimensional corner case #108

Open arvoelke opened 7 years ago

arvoelke commented 7 years ago

Would be good to get this unit test passing:

    sys = LinearSystem(1)
    ss_sys = LinearSystem(sys.ss)
    assert len(ss_sys) == 0

but the dimension can be 0 or 1 depending on whether before or after scipy==0.18.0 due to the way zero-dimensional state-space matrices are represented.