Skip to content

Commit 148a361

Browse files
committed
replace elif with if in fit_econ
1 parent 31e30c1 commit 148a361

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
@@ -1501,7 +1501,7 @@ def fit_econ(self, s, V, t):
15011501
and use_proj must be set to True.
15021502
"""
15031503
raise ValueError(msg)
1504-
elif (
1504+
if (
15051505
not isinstance(self._proj_basis, np.ndarray)
15061506
or self._proj_basis.ndim != 2
15071507
or self._proj_basis.shape[1] != self._svd_rank

0 commit comments

Comments
 (0)