Skip to content

Commit cc67807

Browse files
authored
Merge pull request #539 from AutomotiveDevOps/master
Update xferfcn.py - numpy deprecations.
2 parents c04431f + 0c03dd7 commit cc67807

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
for i in range(len(data)):
15601560
for j in range(len(data[i])):
15611561
for k in range(len(data[i][j])):
1562-
if isinstance(data[i][j][k], (int, np.int)):
1562+
if isinstance(data[i][j][k], (int, np.int32, np.int64)):
15631563
data[i][j][k] = float(data[i][j][k])
15641564

15651565
return data

0 commit comments

Comments
 (0)