diff options
author | Mario Mulansky <mario.mulansky@gmx.net> | 2016-03-29 14:46:49 +0200 |
---|---|---|
committer | Mario Mulansky <mario.mulansky@gmx.net> | 2018-06-02 12:59:43 -0700 |
commit | d3350f7419898c10f72d62e0c63d044804c4a470 (patch) | |
tree | 35a6b54298f05c6c5442157b8b2ac747050fdf60 | |
parent | 029c5716977bb058114339bcadf285c738209776 (diff) |
another python3 fix
-rw-r--r-- | pyspike/cython/python_backend.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyspike/cython/python_backend.py b/pyspike/cython/python_backend.py index a4a0c9e..e75f181 100644 --- a/pyspike/cython/python_backend.py +++ b/pyspike/cython/python_backend.py @@ -443,7 +443,7 @@ def coincidence_single_python(spikes1, spikes2, t_start, t_end, max_tau): N2 = len(spikes2) j = -1 c = np.zeros(N1) # coincidences - for i in xrange(N1): + for i in range(N1): while j < N2-1 and spikes2[j+1] < spikes1[i]: # move forward until spikes2[j] is the last spike before spikes1[i] # note that if spikes2[j] is after spikes1[i] we dont do anything |