We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16f419d commit b65b719Copy full SHA for b65b719
control/statesp.py
@@ -98,11 +98,11 @@ def _ssmatrix(data, axis=1):
98
# Convert the data into an array or matrix, as configured
99
# If data is passed as a string, use (deprecated?) matrix constructor
100
if config.defaults['statesp.use_numpy_matrix']:
101
- arr = np.matrix(data, dtype=float)
+ arr = np.matrix(data)
102
elif isinstance(data, str):
103
- arr = np.array(np.matrix(data, dtype=float))
+ arr = np.array(np.matrix(data))
104
else:
105
- arr = np.array(data, dtype=float)
+ arr = np.array(data)
106
ndim = arr.ndim
107
shape = arr.shape
108
0 commit comments