Skip to content

Commit d20d683

Browse files
committed
correct sb01bd copy & paste error
1 parent aacef38 commit d20d683

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

slycot/synthesis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ def sb01bd(n,m,np,alpha,A,B,w,dico,tol=0.0,ldwork=None):
152152
ldwork = max(1,5*m,5*n,2*n+4*m)
153153
A_z,wr,wi,nfp,nap,nup,F,Z,warn,info = _wrapper.sb01bd(dico,n,m,np,alpha,A,B,w.real,w.imag,tol=tol,ldwork=ldwork)
154154

155-
raise_if_slycot_error(out[-1], arg_list, sb01bd.__doc__)
155+
raise_if_slycot_error(info, arg_list, sb01bd.__doc__)
156156

157157
if warn != 0:
158158
warnings.warn('%i violations of the numerical stability condition occured during the assignment of eigenvalues' % warn)

0 commit comments

Comments
 (0)