Skip to content

Commit b36566f

Browse files
committed
fix WhiteNoise subclassing from Covariance (pymc-devs#6673)
Since pymc-devs#6458, Covariance is now the base class for kernels/covariance functions with input_dim and active_dims, which does not include WhiteNoise and Constant kernels.
1 parent 1ed4475 commit b36566f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymc/gp/cov.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ def full(self, X, Xs=None):
386386
return pt.alloc(self.c, X.shape[0], Xs.shape[0])
387387

388388

389-
class WhiteNoise(Covariance):
389+
class WhiteNoise(BaseCovariance):
390390
r"""
391391
White noise covariance function.
392392

0 commit comments

Comments
 (0)