8000 Bugfix ab13bd by KybernetikJo · Pull Request #200 · python-control/Slycot · GitHub
[go: up one dir, main page]

Skip to content

Bugfix ab13bd #200

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
merged 4 commits into from
Aug 24, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files. 10651
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add shallow copy to ab13bd, fix reference call of state space paramet…
…ers (A,B,C,D)
  • Loading branch information
KybernetikJo committed Aug 23, 2023
commit 14472a620857f4628c61db775fcde9c500a505fa
10 changes: 8 additions & 2 deletions slycot/analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -1378,13 +1378,19 @@ def ab13bd(dico, jobn, n, m, p, A, B, C, D, tol = 0.0):
denominator of `G` (see the SLICOT subroutine SB08DD).
"""

out = _wrapper.ab13bd(dico, jobn, n, m, p, A, B, C, D, tol)

hidden = ' (hidden by the wrapper)'
arg_list = ('dico', 'jobn', 'n', 'm', 'p',
'A', 'lda' + hidden, 'B', 'ldb' + hidden, 'C', 'ldc' + hidden,
'D', 'ldd' + hidden, 'nq' + hidden,'tol', 'dwork' + hidden,
'ldwork' + hidden, 'iwarn', 'info')

a = A.copy()
b = B.copy()
c = C.copy()
d = D.copy()

out = _wrapper.ab13bd(dico, jobn, n, m, p, a, b, c, d, tol)

raise_if_slycot_error(out[-2:], arg_list, ab13bd.__doc__, locals())
return out[0]

Expand Down
0