We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4a5695b + 3ae0fb2 commit 21c9ae2Copy full SHA for 21c9ae2
1 file changed
pyrecest/filters/abstract_particle_filter.py
@@ -41,7 +41,9 @@ def predict_nonlinear(
41
d_f_applied = self.filter_state.d
42
43
n_particles = self.filter_state.w.shape[0]
44
- if noise_distribution is not None:
+ if noise_distribution is None:
45
+ updated_particles = d_f_applied
46
+ else:
47
# Cannot easily use vmap because control flow depends on data for some lower level function
48
updated_particles = []
49
for i in range(n_particles):
0 commit comments