Skip to content

Commit 0c03dd7

Browse files
authored
Update xferfcn.py
1 parent c04431f commit 0c03dd7

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)
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