summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMario Mulansky <mario.mulansky@gmx.net>2015-01-19 17:25:46 +0100
committerMario Mulansky <mario.mulansky@gmx.net>2015-01-19 17:25:46 +0100
commite0a3b5468364342d4468e07029e4daf2cacfd6b9 (patch)
tree13403fdaa3f4a39aebf4d469bd3071b5d47f0e09 /test
parentfed0ceec753fc1a7e5a1e20632de5a9800fe4fb1 (diff)
cython implementation of spike-sync
Diffstat (limited to 'test')
-rw-r--r--test/test_distance.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_distance.py b/test/test_distance.py
index 4f8f6e8..6bdb049 100644
--- a/test/test_distance.py
+++ b/test/test_distance.py
@@ -199,11 +199,11 @@ def test_multi_spike():
def test_multi_spike_sync():
# some basic multivariate check
spikes1 = np.array([100, 300, 400, 405, 410, 500, 700, 800,
- 805, 810, 815, 900])
+ 805, 810, 815, 900], dtype=float)
spikes2 = np.array([100, 200, 205, 210, 295, 350, 400, 510,
- 600, 605, 700, 910])
+ 600, 605, 700, 910], dtype=float)
spikes3 = np.array([100, 180, 198, 295, 412, 420, 510, 640,
- 695, 795, 820, 920])
+ 695, 795, 820, 920], dtype=float)
spikes1 = spk.add_auxiliary_spikes(spikes1, 1000)
spikes2 = spk.add_auxiliary_spikes(spikes2, 1000)
spikes3 = spk.add_auxiliary_spikes(spikes3, 1000)