-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make
SecondOrderSections(::ZeroPoleGain)
more robust (#435)
* Make `SecondOrderSections(::ZeroPoleGain)`more robust The helper function `groupzp` assumes that both zeros and poles are ordered such that complex entries appear in conjugate pairs consecutively and further, that these pairs are orderer consistently: Either always the positive imaginary part first, or always the negative imaginary part first. The output of `split_real_complex` fulfills this. However, for the poles, there is an intermediate sorting step which apparently can interfere with this ordering under certain circumstances. This can lead to a `BoundsError` (#432), but also to zeros which are not conjugate pairs being grouped together, thereby silently producing wrong results. While #433 was a band-aid preventing the `BoundsError`, this should fix the underlying issue by integrating the sorting into `split_real_complex` in such a way that the required ordering is ensured. * Bump version to 0.7.2
- Loading branch information
1 parent
3d294e6
commit 6a904b3
Showing
3 changed files
with
13 additions
and
14 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
6a904b3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JuliaRegistrator register
6a904b3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Registration pull request created: JuliaRegistries/General/39316
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via: