Commit 42073629 authored by Theo Steininger's avatar Theo Steininger

Fixed SimpleLikelihood

parent 68d18f91
...@@ -21,7 +21,7 @@ class SimpleLikelihood(Likelihood): ...@@ -21,7 +21,7 @@ class SimpleLikelihood(Likelihood):
diff = data - obs_mean diff = data - obs_mean
if self.data_covariance is not None: if self.data_covariance is not None:
right = diff/self.data_covariance_operator right = diff/self.data_covariance
else: else:
right = diff right = diff
return -0.5 * np.vdot(diff, right) return -0.5 * np.vdot(diff, right)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment