brian-team / brian2genn

Brian 2 frontend to the GeNN simulator
http://brian2genn.readthedocs.io/
GNU General Public License v2.0
47 stars 16 forks source link

Fix `_last_run_time` recording #65

Closed denisalevi closed 6 years ago

denisalevi commented 6 years ago

Previously _last_run_time was 0 if maximum_run_time was not specified. This is needed for the brian2 run_speed_tests to work correctly with brian2GeNN.

mstimberg commented 6 years ago

Indeed, thanks for this fix!