Skip to content

Commit

Permalink
Update controls.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Routhleck committed Oct 25, 2024
1 parent a508952 commit 32e4857
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions brainpy/_src/math/object_transform/controls.py
Original file line number Diff line number Diff line change
Expand Up @@ -894,8 +894,8 @@ def for_loop(
dyn_vals, out_vals = transform(operands)
for key in stack.keys():
stack[key]._value = dyn_vals[key]
# if progress_bar:
# bar.close()
if progress_bar:
bar.close()
del dyn_vals, stack
return out_vals

Expand Down

0 comments on commit 32e4857

Please sign in to comment.