Skip to content

Commit

Permalink
Fixed numerical errors in Expectations tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergio Diaz committed Mar 25, 2019
1 parent 42ca6ce commit b8d1d68
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions gpflow/expectations/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ def _E(p, kern, feat, mean, _, nghp=None):
return tf.linalg.transpose(expectation(p, mean, (kern, feat), nghp=nghp))


@dispatch.expectation.register(Gaussian, (mfn.Constant, mfn.Zero),
NoneType, kernels.Kernel, InducingPoints)
@dispatch.expectation.register(Gaussian, mfn.Constant, NoneType, kernels.Kernel, InducingPoints)
def _E(p, constant_mean, _, kern, feat, nghp=None):
"""
Compute the expectation:
Expand Down

0 comments on commit b8d1d68

Please sign in to comment.