Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitcc67807

Browse files
authored
Merge pull request#539 from AutomotiveDevOps/master
Update xferfcn.py - numpy deprecations.
2 parentsc04431f +0c03dd7 commitcc67807

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎control/xferfcn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1559,7 +1559,7 @@ def _clean_part(data):
15591559
foriinrange(len(data)):
15601560
forjinrange(len(data[i])):
15611561
forkinrange(len(data[i][j])):
1562-
ifisinstance(data[i][j][k], (int,np.int)):
1562+
ifisinstance(data[i][j][k], (int,np.int32,np.int64)):
15631563
data[i][j][k]=float(data[i][j][k])
15641564

15651565
returndata

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp