diff --git a/smac/model/gaussian_process/mcmc_gaussian_process.py b/smac/model/gaussian_process/mcmc_gaussian_process.py index 71c4d45aa..601e6d306 100644 --- a/smac/model/gaussian_process/mcmc_gaussian_process.py +++ b/smac/model/gaussian_process/mcmc_gaussian_process.py @@ -188,7 +188,7 @@ def _train( warnings.filterwarnings("ignore", r"invalid value encountered in double_scalars.*") self.p0, _, _ = sampler.run_mcmc(self.p0, self._burning_steps) - self.burned = True + self._burned = True # Start sampling & save the current position, it will be the start point in the next iteration with warnings.catch_warnings(): @@ -210,7 +210,7 @@ def _train( import nuts.nuts # type: ignore # Perform initial fit to the data to obtain theta0 - if not self.burned: + if not self._burned: theta0 = self._gp.kernel.theta self._burned = True else: