Skip to content

Commit

Permalink
make some update
Browse files Browse the repository at this point in the history
  • Loading branch information
chaoming0625 committed Aug 26, 2024
1 parent 472f8c2 commit b2fd817
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/fitting_simple_dendrite_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ def simulate(currents, params):
hh.init_state()

times = np.arange(0, currents.shape[0]) * bst.environ.get_dt()
vs, spks = bst.transform.for_loop(hh.step_run, times, currents)
# vs, spks = bst.transform.for_loop(hh.step_run, times, currents)
vs, spks = bst.transform.checkpointed_for_loop(hh.step_run, times, currents)
return vs, spks


Expand Down

0 comments on commit b2fd817

Please sign in to comment.