8000 remove misguided comment about polymulx · python-control/python-control@d0f333e · GitHub
[go: up one dir, main page]

Skip to content

Commit d0f333e

Browse files
authored
remove misguided comment about polymulx
1 parent ad0a225 commit d0f333e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

control/margins.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def _poly_z_real_crossing(num, den, num_inv_zp, den_inv_zq, p_q, dt, epsw):
145145
p1 = np.polymul(num, den_inv_zq)
146146
p2 = np.polymul(num_inv_zp, den)
147147
5495 if p_q < 0:
148-
# Future: numpy >= 1.5.0 defines np.polymulx()
148+
# * z**(-p_q)
149149
x = [1] + [0] * (-p_q)
150150
p2 = np.polymul(p2, x)
151151
z = np.roots(np.polysub(p1, p2))

0 commit comments

Comments
 (0)
0