Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
d5156e5
Lint: remove unused variables, or prefix with `_`
roryyorke Feb 9, 2025
2a18331
Remove unused imports
roryyorke Feb 9, 2025
1bc0119
Remove imports needed for `eval`
roryyorke Feb 16, 2025
df756eb
Fix incorrect variable names in f-strings
roryyorke Feb 15, 2025
48d6195
Apply ruff checks to control/tests/
roryyorke Feb 16, 2025
20f4b76
Remove unused variable fail_if_missing in test_parameter_docs
roryyorke Feb 16, 2025
3729d89
Remove unused obj and objname in test_iosys_attribute_lists
roryyorke Feb 16, 2025
36d5e8a
Remove unused variable docstring in test_iosys_container_classes
roryyorke Feb 16, 2025
7fe9d4e
Import numpy for symbol np.array
roryyorke Feb 16, 2025
ba33c21
Remove ineffective testFeedback2 in frd_test.py
roryyorke Feb 16, 2025
2156adf
Add assertion in testUnwrap in matlab_test
roryyorke Feb 16, 2025
69afb82
Remove unused steady-state output variable
roryyorke Feb 16, 2025
4e0b9c1
Mark unused test function with noqa
roryyorke Feb 16, 2025
3654163
Merge remote-tracking branch 'upstream/main' into lint-tests
roryyorke Feb 16, 2025
2d5738a
Fix bugs and lint errors in test_timeresp_aliases
roryyorke Feb 16, 2025
fb0519c
Correct use of slycotonly in statesp_test.py
roryyorke Feb 16, 2025
c6d26f1
Remove unused ss_{siso,mimo} variables
roryyorke Feb 16, 2025
22db2bf
Don't use keyword args for eval
roryyorke Feb 16, 2025
5ff3c0c
Handle deprecation warnings from conda setup in Github actions
roryyorke Feb 16, 2025
51eb00a
Remove redundant kwarg test entries
roryyorke Feb 16, 2025
e29ba64
Add assertion to check result of markov call
roryyorke Feb 16, 2025
ff4d7b6
Remove unused variables in test_optimal_doc
roryyorke Feb 16, 2025
870fa19
Merge remote-tracking branch 'upstream/main' into lint-tests
roryyorke Feb 16, 2025
c907a4f
Revert "Handle deprecation warnings from conda setup in Github actions"
roryyorke Feb 16, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add assertion to check result of markov call
  • Loading branch information
roryyorke committed Feb 16, 2025
commit e29ba64324f8d15f3e026166d00f8c15665414ce
1 change: 1 addition & 0 deletions control/tests/modelsimp_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ def testMarkovSignature(self):
inp = np.array([1, 2])
outp = np.array([2, 4])
mrk = markov(outp, inp, 1, transpose=False)
np.testing.assert_almost_equal(mrk, 2.)

# Test mimo example
# Mechanical Vibrations: Theory and Application, SI Edition, 1st ed.
Expand Down