diff --git a/GPy/core/gp.py b/GPy/core/gp.py index 70b7d695..d7f07a47 100644 --- a/GPy/core/gp.py +++ b/GPy/core/gp.py @@ -43,7 +43,7 @@ class GP(Model): _, self.output_dim = self.Y.shape if Y_metadata is None: - Y_metadata = {} + self.Y_metadata = {} else: self.Y_metadata = Y_metadata