You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Multiple Runs section in documentation it states that:
code can be run repeatedly “in multiple runs” that are completely independent. This just needs a reset_device command issued after the run(runtime) command
However, I get a the 'Only a single run statement is supported' error when I try to run() after device_reset()
Smallest code to reproduce the error:
from brian2 import *
import brian2genn
set_device('genn')
run(1*second)
from brian2.devices import reset_device
reset_device('genn')
run(1*second) # <- results in above error
The text was updated successfully, but these errors were encountered:
In Multiple Runs section in documentation it states that:
However, I get a the 'Only a single run statement is supported' error when I try to run() after device_reset()
Smallest code to reproduce the error:
The text was updated successfully, but these errors were encountered: