ilayn / harold

An open-source systems and controls toolbox for Python3
MIT License
173 stars 19 forks source link

Shape of D matrix should be p x m or m x p? #69

Closed jamestjsp closed 3 years ago

jamestjsp commented 3 years ago

I ran into an issue while using another package which uses harold, I could solve it by changing to D = np.empty((p, m), dtype=float)
https://github.com/ilayn/harold/blob/90a785b44f45c9e05a5ef2da935f21c493e8448c/harold/_classes.py#L2883

ilayn commented 3 years ago

@jamestjsp Thanks for the report. I'll fix it asap.