diff options
author | Mario Mulansky <mario.mulansky@gmx.net> | 2016-03-29 12:40:04 +0200 |
---|---|---|
committer | Mario Mulansky <mario.mulansky@gmx.net> | 2016-03-29 12:40:04 +0200 |
commit | 9cf75c9f72a5bea6ed636d9624eff951a473dcde (patch) | |
tree | 5b288389f8794e94de7c76d89482329f88dc6305 /pyspike/cython/cython_distances.pyx | |
parent | ad29154d8c152996d16c012dcc5798c5f1957aed (diff) | |
parent | d9e2125dcc76693056ab04264add29227f398f4f (diff) |
Merge branch 'develop' into new_directionality
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 f50700f..d4070ae 100644 --- a/pyspike/cython/cython_distances.pyx +++ b/pyspike/cython/cython_distances.pyx @@ -628,9 +628,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 |