Skip to content

Commit

Permalink
Merge pull request #660 from dstl/particle_pred_fix
Browse files Browse the repository at this point in the history
Fix incorrect arguments in particle predictor
  • Loading branch information
sdhiscocks authored Jun 20, 2022
2 parents aaa895b + 39e0263 commit c4cd36c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions stonesoup/predictor/particle.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,13 @@ class ParticlePredictor(Predictor):
"""

@predict_lru_cache()
def predict(self, prior, control_input=None, timestamp=None, **kwargs):
def predict(self, prior, timestamp=None, **kwargs):
"""Particle Filter prediction step
Parameters
----------
prior : :class:`~.ParticleState`
A prior state object
control_input : :class:`~.State`, optional
The control input. It will only have an effect if
:attr:`control_model` is not `None` (the default is `None`)
timestamp: :class:`datetime.datetime`, optional
A timestamp signifying when the prediction is performed
(the default is `None`)
Expand Down

0 comments on commit c4cd36c

Please sign in to comment.