Skip to content

Fix typo in ICSystem updfcn, outfcn: update_params -> _update_params #990

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

murrayrm
Copy link
Member

@murrayrm murrayrm commented Apr 8, 2024

This PR fixes a bug in the InterconnectedSystem class, where the updfcn and outfcn methods call update_params instead of _update_params. This bug didn't who up because there were no direct calls to updfcn and outfcn for an IC system. However, these show up in the new phaseplot module code, so it can generate a error.

Simple fix; just adding an underscore in two places (and a unit test to uncover the bug).

@coveralls
Copy link

Coverage Status

coverage: 94.504% (+0.02%) from 94.482%
when pulling 6b00fd4 on murrayrm:fix_ic_update_params-07Apr2024
into 49f03e7 on python-control:main.

@bnavigator bnavigator merged commit 1bb0a46 into python-control:main Apr 8, 2024
23 checks passed
@murrayrm murrayrm added this to the 0.10.1 milestone Jun 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants