8000 a possible quick patch · python-control/python-control@3fe4067 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3fe4067

Browse files
committed
a possible quick patch
1 parent facfe9c commit 3fe4067

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
@@ -135,7 +135,7 @@ def __init__(self, *args):
135135
else:
136136
data[i] = [[array([data[i]])]]
137137
elif (isinstance(data[i], (list, tuple, ndarray)) and
138-
isinstance(data[i][0], (int, float, complex))):
138+
isinstance(data[i][0], (int, float, complex, np.int64))):
139139
# Convert array to list of list of array.
140140
if (isinstance(data[i][0], int)):
141141
# Convert integers to floats at this point

0 commit comments

Comments
 (0)
0