On 1/11/07, Robert Kern <[EMAIL PROTECTED]> wrote:
> Keith Goodman wrote:
> > Why is the first element of the permutation always the same? Am I
> > using random.permutation in the right way?
>
> >>> M.__version__
> > '1.0rc1'
>
> This has been fixed in more recent versions.
>
>   http://projects.scipy.org/scipy/numpy/ticket/374

I don't see any unit tests for numpy.random. I guess randomness is hard to test.

Would it help to seed the random number generator and at least check
that you get the same result you got before? No existing problems
would be found. But new ones might be caught.

I guess the alternative is a long running, occasionally failing,
statistical tests.
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to