diff --git a/smt/applications/mfk.py b/smt/applications/mfk.py index 233da9abb..0b303fb79 100644 --- a/smt/applications/mfk.py +++ b/smt/applications/mfk.py @@ -101,7 +101,7 @@ def __call__(self, nb_samples_hifi): doe = [] p0 = LHS( - xlimits=self.design_space.get_x_limits(), + xlimits=np.array(self.design_space.get_x_limits()), criterion="ese", random_state=self.random_state, ) @@ -113,7 +113,7 @@ def __call__(self, nb_samples_hifi): for i in range(1, self.nlevel): p = LHS( - xlimits=self.design_space.get_x_limits(), + xlimits=np.array(self.design_space.get_x_limits()), criterion="ese", random_state=self.random_state, )