This behavior does not match the current documentation.

>>> np.random.uniform(low=0.5,high=0.5)
0.5
>>> np.random.uniform(low=0.5,high=0.4)
0.48796883601707464

I assume this behavior is intentional and it is
the documentation that is in error (for the case
when high<=low)?

fwiw,
Alan Isaac
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to