diff --git a/ezyrb/reducedordermodel.py b/ezyrb/reducedordermodel.py index 1a7d41b..83f85ec 100644 --- a/ezyrb/reducedordermodel.py +++ b/ezyrb/reducedordermodel.py @@ -4,7 +4,7 @@ import copy import pickle import numpy as np -from scipy.spatial.qhull import Delaunay +from scipy.spatial import Delaunay from sklearn.model_selection import KFold from .database import Database @@ -70,10 +70,10 @@ def fit(self): # FULL-ORDER PREPROCESSING here for plugin in self.plugins: plugin.fom_preprocessing(self) + + self.shifted_database = self._full_database self.reduction.fit(self._full_database.snapshots_matrix.T) - # print(self.reduction.singular_values) - # print(self._full_database.snapshots_matrix) reduced_snapshots = self.reduction.transform( self._full_database.snapshots_matrix.T).T