filterpy
filterpy copied to clipboard
residual_resample issue
I noticed the definition of the residual in residual resampling should be
residual = N*weights - num_copies
while the current code has
https://github.com/rlabbe/filterpy/blob/3b51149ebcff0401ff1e10bf08ffca7b6bbc4a33/filterpy/monte_carlo/resampling.py#L70C1-L70C62