adrianschlatter / tanuna

Python tools to work with dynamic systems.
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

CT_LTI.__radd__ #13

Closed adrianschlatter closed 8 years ago

adrianschlatter commented 8 years ago

Example:

G = LowPass(10) np.matrix(1) + G

Fails on second line because - apparently - np.matrix.add claims to know how to add a CT_LTI_System. It tries to do so by adding G to each (float-) element of matrix.

Same goes for rsub(...)

adrianschlatter commented 8 years ago

fixed in 57f63e4cb08c958ab2edaafd3ae770665e33fe9e