Skip to content

Commit

Permalink
Fix linear measurement model tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sdhiscocks committed Feb 17, 2022
1 parent efb1ba2 commit 14cb8c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stonesoup/models/measurement/tests/test_lg.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def test_lgmodel(H, R, ndim_state, mapping):
# Evaluate the likelihood of the predicted measurement, given the state
# (without noise)
prob = lg.pdf(State(meas_pred_wo_noise), state)
assert approx(prob), multivariate_normal.pdf(
assert approx(prob) == multivariate_normal.pdf(
meas_pred_wo_noise.T,
mean=np.array(H@state_vec).ravel(),
cov=R)
Expand Down

0 comments on commit 14cb8c8

Please sign in to comment.