Skip to content

Commit

Permalink
Fix for #438
Browse files Browse the repository at this point in the history
  • Loading branch information
apdavison committed Jan 19, 2017
1 parent f45e96c commit 128a53d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyNN/random.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def next(self, n=None, distribution=None, parameters=None, mask_local=None):
if distribution is None:
distribution = 'uniform'
if parameters is None:
parameters = (0.0, 1.0)
parameters = {"low": 0.0, "high": 1.0}
if n == 0:
rarr = numpy.random.rand(0) # We return an empty array
elif n is None:
Expand Down

0 comments on commit 128a53d

Please sign in to comment.