Skip to content

Commit

Permalink
Update likelihoods.py
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-dodd committed Mar 22, 2024
1 parent 700a406 commit d33849d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gpjax/likelihoods.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ def __init__(
self,
num_datapoints: int,
obs_stddev: tp.Union[ScalarFloat, Float[Array, "#N"], PositiveReal] = 1.0,
integrator: AbstractIntegrator = AnalyticalGaussianIntegrator(),
):
r"""Initializes the Gaussian likelihood.
Expand All @@ -150,7 +151,7 @@ def __init__(
else:
self.obs_stddev = PositiveReal(jnp.asarray(obs_stddev))

super().__init__(num_datapoints, AnalyticalGaussianIntegrator())
super().__init__(num_datapoints, integrator)

def link_function(self, f: Float[Array, "..."]) -> tfd.Normal:
r"""The link function of the Gaussian likelihood.
Expand Down

0 comments on commit d33849d

Please sign in to comment.