This PR addresses two small bugs in the load() methods of NonuniformDMD and DMD.
DMD::load() loads a trained ROM, but subsequently calling DMD::predict() fails at line 611 because d_trained and d_init_projected are false. This bugfix sets these variables to true when calling DMD::load().
NonuniformDMD::load() will always attempt to load the optional variable d_derivative_offset. This bugfix ensures the optional file exists before attempting to load.
This PR addresses two small bugs in the
load()
methods ofNonuniformDMD
andDMD
.DMD::load()
loads a trained ROM, but subsequently callingDMD::predict()
fails at line 611 becaused_trained
andd_init_projected
are false. This bugfix sets these variables to true when callingDMD::load()
.NonuniformDMD::load()
will always attempt to load the optional variabled_derivative_offset
. This bugfix ensures the optional file exists before attempting to load.