diff options
author | Mario Mulansky <mario.mulansky@gmx.net> | 2017-10-04 21:56:40 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-04 21:56:40 -0700 |
commit | de571efd0894f0332eadec7e4a2184f9a4ffaf25 (patch) | |
tree | 0e6bf7b745a5baae0bee0a4d8a2873c8ca4bef85 /pyspike/cython/cython_distances.pyx | |
parent | f4ea757a1a32be3df440b4d742cafd5036544225 (diff) | |
parent | ecd4b5f0f7e93859c1262593e2c09e1eb6775819 (diff) |
Merge pull request #27 from mariomulansky/develop
Merge v 0.5.2
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 |