diff options
author | Mario Mulansky <mario.mulansky@gmx.net> | 2015-12-14 14:24:14 +0100 |
---|---|---|
committer | Mario Mulansky <mario.mulansky@gmx.net> | 2015-12-14 14:24:14 +0100 |
commit | 776d8d686f9c19a729038270f69872801bba43a2 (patch) | |
tree | 0b4f2bc756bd0fe434360a8af5a920e76c5352f8 /examples/performance.py | |
parent | b970055641b215d30b671ee810e29c6a55e6214a (diff) | |
parent | 0dbdc0096dacc1f6233600ed6e36487bbab6b718 (diff) |
Merge branch 'develop' of github.com:mariomulansky/PySpike into develop
Diffstat (limited to 'examples/performance.py')
-rw-r--r-- | examples/performance.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/performance.py b/examples/performance.py index d0c3b91..ec6c830 100644 --- a/examples/performance.py +++ b/examples/performance.py @@ -26,7 +26,7 @@ print("%d spike trains with %d spikes" % (M, int(r*T))) spike_trains = [] t_start = datetime.now() -for i in xrange(M): +for i in range(M): spike_trains.append(spk.generate_poisson_spikes(r, T)) t_end = datetime.now() runtime = (t_end-t_start).total_seconds() |