Skip to content

Commit

Permalink
fixup! squash! Simulator allows arguments for LoihiSimulator
Browse files Browse the repository at this point in the history
  • Loading branch information
tbekolay committed Nov 29, 2018
1 parent 46a2db4 commit 1c123d7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nengo_loihi/loihi_interface.py
Expand Up @@ -564,9 +564,9 @@ def host2chip(self):
max_spikes = self.snip_max_spikes_per_step
if len(to_send) > max_spikes:
warnings.warn(
"Too many spikes (%d) sent in one timestep. Increase the value "
"of `snip_max_spikes_per_step` (currently set to %d). See\n"
" https://www.nengo.ai/nengo-loihi/troubleshooting.html"
"Too many spikes (%d) sent in one timestep. Increase the "
"value of `snip_max_spikes_per_step` (currently set to %d). "
"See\n https://www.nengo.ai/nengo-loihi/troubleshooting.html"
"for details." % (len(to_send), max_spikes))
del to_send[max_spikes:]

Expand Down

0 comments on commit 1c123d7

Please sign in to comment.