Handle scalar `timeresp` in `solve_flat_ocp` by roryyorke · Pull Request #1111 · python-control/python-control
Comment on lines +473 to +475
| assert np.max(abs(r1.x-r2.x)) == 0 | ||
| assert np.max(abs(r1.u-r2.u)) == 0 | ||
| assert np.max(abs(r1.y-r2.y)) == 0 |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this a fancy way to say r1.x == r2.x while employing some opaque shape casting?
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just laziness! fixed.
the failures are during install optional dependencies phase, before tests are run, and must be unrelated.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters