diff options
author | Mario Mulansky <mario.mulansky@gmx.net> | 2017-10-04 22:01:52 -0700 |
---|---|---|
committer | Mario Mulansky <mario.mulansky@gmx.net> | 2017-10-04 22:01:52 -0700 |
commit | 2af020ee53a006436fb69bf80b28d5a850ae8c43 (patch) | |
tree | 988d0be91bc678169fdc7934d5494dcf9f8f8768 /pyspike/cython/cython_distances.pyx | |
parent | 9fa10fe30e3216170f41ce47797c7a3a56e17a5f (diff) | |
parent | de571efd0894f0332eadec7e4a2184f9a4ffaf25 (diff) |
Merge branch 'master' of github.com:mariomulansky/PySpike
Diffstat (limited to 'pyspike/cython/cython_distances.pyx')
-rw-r--r-- | pyspike/cython/cython_distances.pyx | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/pyspike/cython/cython_distances.pyx b/pyspike/cython/cython_distances.pyx index 7dc9cb9..ac5f226 100644 --- a/pyspike/cython/cython_distances.pyx +++ b/pyspike/cython/cython_distances.pyx @@ -428,9 +428,4 @@ def coincidence_value_cython(double[:] spikes1, double[:] spikes2, mp += 2 coinc += 2 - if coinc == 0 and mp == 0: - # empty spike trains -> spike sync = 1 by definition - coinc = 1 - mp = 1 - return coinc, mp |