diff options
| -rw-r--r-- | numpy/random/mtrand/mtrand.pyx | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/numpy/random/mtrand/mtrand.pyx b/numpy/random/mtrand/mtrand.pyx index fb325d9c1..cd50c4968 100644 --- a/numpy/random/mtrand/mtrand.pyx +++ b/numpy/random/mtrand/mtrand.pyx @@ -587,11 +587,14 @@ cdef class RandomState: array filled with generated values is returned. If `size` is a tuple, then an array with that shape is filled and returned. - * Compatibility Guarantee* - A fixed seed and a fixed series of calls to 'RandomState' methods will - always produce the same results regardless of platform or numpy - version. Small differences in floating point values may occur due to - rounding differences between compilers. + *Compatibility Guarantee* + A fixed seed and a fixed series of calls to 'RandomState' methods using + the same parameters will always produce the same results up to roundoff + error except when the values were incorrect. Incorrect values will be + fixed and the NumPy version in which the fix was made will be noted in + the relevant docstring. Extension of existing parameter ranges and the + addition of new parameters is allowed as long the previous behavior + remains unchanged. Parameters ---------- |
