Skip to content

Commit 31e30c1

Browse files
committed
use np.asarray instead of np.array for time input
1 parent f81276d commit 31e30c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pydmd/bopdmd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1493,7 +1493,7 @@ def fit_econ(self, s, V, t):
14931493
:type t: numpy.ndarray
14941494
"""
14951495
self._reset()
1496-
self._time = np.array(t).squeeze()
1496+
self._time = np.asarray(t).squeeze()
14971497

14981498
if self._proj_basis is None or not self._use_proj:
14991499
msg = """

0 commit comments

Comments
 (0)