jtosey/particle_filter_demo — comment on commit ba3a5df3f6d6c70d52d78bea962a7c6fcbd6232f
File: particle_filter.py line 65
By dov:

This line confused me. Why the `bisect()`? It seems like it would be the same and simpler to do `random.choice(self.distribution)`.