Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
teubert committed Jun 16, 2023
1 parent 1ca0e3d commit d4b6ec7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_state_estimators.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ def test_PF(self):
x_us = UnweightedSamples(uw_input)
filt_us = ParticleFilter(m, x_us, num_particles = 100000)
for k, v in filt_us.x.mean.items():
self.assertAlmostEqual(v, x_us.mean[k], delta=0.02)
self.assertAlmostEqual(v, x_us.mean[k], delta=0.025)
for i in range(len(filt_us.x.cov)):
for j in range(len(filt_us.x.cov[i])):
self.assertAlmostEqual(filt_us.x.cov[i][j], x_us.cov[i][j], delta=0.1)
Expand Down

0 comments on commit d4b6ec7

Please sign in to comment.