Skip to content

Commit

Permalink
Corrected syntax with Ensemble measurement prediction.
Browse files Browse the repository at this point in the history
  • Loading branch information
john.hiles committed Jul 1, 2022
1 parent 0a0d52c commit 5bc011d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions stonesoup/updater/ensemble.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,7 @@ def predict_measurement(self, predicted_state, measurement_model=None,
measurement_model = self._check_measurement_model(measurement_model)

# Propagate each vector through the measurement model.
pred_meas_ensemble = measurement_model.function(predicted_state, noise=True,
num_samples=predicted_state.num_vectors)
pred_meas_ensemble = measurement_model.function(predicted_state, noise=True)

return MeasurementPrediction.from_state(
predicted_state, pred_meas_ensemble)
Expand Down

0 comments on commit 5bc011d

Please sign in to comment.