Skip to content

Commit 14cb8c8

Browse files
committed
Fix linear measurement model tests
1 parent efb1ba2 commit 14cb8c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stonesoup/models/measurement/tests/test_lg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def test_lgmodel(H, R, ndim_state, mapping):
6161
# Evaluate the likelihood of the predicted measurement, given the state
6262
# (without noise)
6363
prob = lg.pdf(State(meas_pred_wo_noise), state)
64-
assert approx(prob), multivariate_normal.pdf(
64+
assert approx(prob) == multivariate_normal.pdf(
6565
meas_pred_wo_noise.T,
6666
mean=np.array(H@state_vec).ravel(),
6767
cov=R)

0 commit comments

Comments
 (0)