diff --git a/examples/frompapers/Izhikevich_2007.py b/examples/frompapers/Izhikevich_2007.py index b4be177fb..3e27da5a1 100644 --- a/examples/frompapers/Izhikevich_2007.py +++ b/examples/frompapers/Izhikevich_2007.py @@ -52,10 +52,10 @@ 3500, 3550, 4000, 4010, 4500, 4510])*ms spike_input = SpikeGeneratorGroup(2, input_indices, input_times) -neurons = NeuronGroup(2, '''dv/dt = (ge * (Ee-vr) + El - v) / taum : volt +neurons = NeuronGroup(2, '''dv/dt = (ge * (Ee-v) + El - v) / taum : volt dge/dt = -ge / taue : 1''', threshold='v>vt', reset='v = vr', - method='exact') + method='euler') neurons.v = vr neurons_monitor = SpikeMonitor(neurons)