Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Usually, we use `step_run` with `brainpy.math.for_loop`. This function does not call `brainpy.clear_input`, which may cause problems of input accumulation when using old APIs in ``brainpy.neurons`` module. Therefore, we should call ``brainpy.clear_input`` after each ``update`` function.
- Loading branch information