OptDMD.predict
does not work with default argument factorization='evd'
#226
Labels
OptDMD.predict
does not work with default argument factorization='evd'
#226
If I run
OptDMD
with default argumentfactorization='evd'
, the error'OptDMD' object has no attribute '_eigs'
is raised. This is an easy fix, replaceself._eigs
withself.eigs
. However, doing so introduces a new bug.Running
OptDMD
withfactorization='svd'
works fine.Describe the bug
The last statement causes an error.
To Reproduce
see previous code snippet.
Expected behavior
There shouldn't be an exception.
Output
Additional context
I looked into what causes this bug and there seems to be a mismatch in dimensions:
We have the following shapes:
This does not match. My best guess is, that the shape of the third matrix should be
self._input_space.shape == (128, 7)
so that the result after the multiplication has a shape of(128, )
.The text was updated successfully, but these errors were encountered: