[Numpy-discussion] random.uniform documentation bug?

David Goldsmith d.l.goldsmith@gmail....
Tue Feb 23 12:14:58 CST 2010


On Tue, Feb 23, 2010 at 6:21 AM, Alan G Isaac <aisaac@american.edu> wrote:

> 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
>

Why do you assume that?

DG


> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20100223/d05229c8/attachment.html 


More information about the NumPy-Discussion mailing list