Skip to content

Commit 592fc8f

Browse files
committed
initialize alpha in fit_econ using s and V
1 parent ebf1bcd commit 592fc8f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pydmd/bopdmd.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1520,6 +1520,9 @@ def fit_econ(self, s, V, t):
15201520
"""
15211521
raise ValueError(msg)
15221522

1523+
if self._init_alpha is None:
1524+
self._init_alpha = self._initialize_alpha(s=s, V=V)
1525+
15231526
def forecast(self, t):
15241527
"""
15251528
Predict the output X given the input time t using the fitted DMD model.

0 commit comments

Comments
 (0)