Skip to content

Commit 476b700

Browse files
janskaarnicolossus
andauthored
Update testsuite/pytests/test_iaf_bw_2001_exact.py
Co-authored-by: Nicolai Haug <39106781+nicolossus@users.noreply.github.com>
1 parent ef363c0 commit 476b700

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testsuite/pytests/test_iaf_bw_2001_exact.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def test_iaf_bw_2001_exact():
140140

141141
nest.Simulate(1000.0)
142142

143-
spikes = sr.get("events", "times") * nest.resolution
143+
spikes = sr.events["times"] * nest.resolution
144144
first_spike_ind = int(spikes[0] / nest.resolution)
145145

146146
# compute analytical solutions

0 commit comments

Comments
 (0)