Skip to content

Commit 9804e7b

Browse files
committed
silence scipy Future rcond warning
1 parent 0fa2c9c commit 9804e7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

control/modelsimp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,6 +424,6 @@ def markov(Y, U, m):
424424
UU = np.hstack((UU, Ulast))
425425

426426
# Invert and solve for Markov parameters
427-
H = np.linalg.lstsq(UU, Y)[0]
427+
H = np.linalg.lstsq(UU, Y, rcond=None)[0]
428428

429429
return H

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy