Skip to content

Commit

Permalink
fixup! fixup! Move run_steps generation to a separate class
Browse files Browse the repository at this point in the history
  • Loading branch information
tbekolay committed Jan 16, 2020
1 parent b7f4849 commit 0e7d8de
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nengo_loihi/simulator.py
Expand Up @@ -105,6 +105,7 @@ def __init__( # noqa: C901
self.closed = True
self.network = network
self.sims = OrderedDict()
self.timers = {"steps": 0.0}

hardware_options = {} if hardware_options is None else hardware_options

Expand Down Expand Up @@ -310,7 +311,7 @@ def reset(self, seed=None):

self._n_steps = 0
self._time = 0
self.timers = {"steps": 0.0}
self.timers["steps"] = 0.0

# clear probe data
for probe in self.model.probes:
Expand Down

0 comments on commit 0e7d8de

Please sign in to comment.