From 7c78358445652e5690f5357ef427308c25dd0ac0 Mon Sep 17 00:00:00 2001 From: James Hensman Date: Thu, 12 Dec 2013 15:45:35 +0000 Subject: [PATCH] ensure_defaiult constraints in svigp --- GPy/core/svigp.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/GPy/core/svigp.py b/GPy/core/svigp.py index fdd95aa8..63a16616 100644 --- a/GPy/core/svigp.py +++ b/GPy/core/svigp.py @@ -78,6 +78,8 @@ class SVIGP(GPBase): self._param_steplength_trace = [] self._vb_steplength_trace = [] + self.ensure_default_constraints() + def getstate(self): steplength_params = [self.hbar_t, self.tau_t, self.gbar_t, self.gbar_t1, self.gbar_t2, self.hbar_tp, self.tau_tp, self.gbar_tp, self.adapt_param_steplength, self.adapt_vb_steplength, self.vb_steplength, self.param_steplength] return GPBase.getstate(self) + \