Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | TST: Add tests for new feature and fix in random.choice | Sebastian Berg | 2012-12-06 | 1 | -1/+27 | |
| | ||||||
* | FIX: loosen numerical tolerance in test_pareto() | Nathaniel J. Smith | 2012-09-07 | 1 | -1/+7 | |
| | | | | | | | | | | | | | | | | | The problem was that in 32bit Ubuntu 12.04, one gets the following: > /home/njs/numpy/.tox/py27/local/lib/python2.7/site-packages/numpy/random/tests/test_random.py(363)test_pareto() -> np.testing.assert_array_almost_equal(actual, desired, decimal=15) (Pdb) actual[1, 0] 52828779.702948704 (Pdb) desired[1, 0] 52828779.702948518 and the test was comparing the numbers to 1e-14, which obviously failed. Fixes #424. | |||||
* | [FIX] Make np.random.shuffle less brain-dead | Nathaniel J. Smith | 2012-07-17 | 1 | -6/+11 | |
| | | | | | | | | | The logic in np.random.shuffle was... not very sensible. Fixes trac ticket #2074. This patch also exposes a completely unrelated issue in numpy.testing. Filed as Github issue #347 and marked as knownfail for now. | |||||
* | FIX: Add release notes, use inverse cdf method for non-uniform | Chris Jordan-Squire | 2011-12-17 | 1 | -1/+1 | |
| | | | | | sampling with replacement, change searchsorted to use side='right', and regenerate mtrand.c. | |||||
* | FIX: Changed named to choice, reverted other changes. | Chris Jordan-Squire | 2011-12-17 | 1 | -12/+12 | |
| | ||||||
* | ENH: New sample function, bugs in tests fixed | Chris Jordan-Squire | 2011-12-16 | 1 | -0/+45 | |
| | ||||||
* | TST: lower precision for one more test in random. Closes #1768. Again. | Ralf Gommers | 2011-04-01 | 1 | -1/+1 | |
| | ||||||
* | TST: lower precision of lognormal test a little more. Closes #1768. | Ralf Gommers | 2011-03-16 | 1 | -1/+1 | |
| | | | | Thanks to Mark Sienkiewicz for testing. | |||||
* | TST: Some tests in random module were failing on RHEL4 due to too high ↵ | Ralf Gommers | 2011-03-15 | 1 | -9/+9 | |
| | | | | | | | | | precision. It is not yet confirmed this is the right precision, since I don't have an RHEL4 test machine. Changing this anyway for 1.6.0 beta 1. See ticket 1768. | |||||
* | TST: Py3K: fix bytes/string test failure in numpy.random.bytes() test. | rgommers | 2011-03-11 | 1 | -2/+3 | |
| | ||||||
* | TST: Add test for poisson exceptions. | Charles Harris | 2011-03-10 | 1 | -1/+10 | |
| | ||||||
* | TST: add test for random distributions. Closes #1512. | rgommers | 2011-03-06 | 1 | -1/+357 | |
| | | | | | | | These tests ensure that returned values stay the same, which is necessary because other tests rely on this when setting a fixed seed. Thanks to Vincent Davis. | |||||
* | ENH: Break out regression tests into separate file and explicitly import needed | Charles Harris | 2011-01-24 | 1 | -49/+1 | |
| | | | | functions from np.testing. | |||||
* | ENH: Replace assert by assert_. | Charles Harris | 2011-01-24 | 1 | -9/+9 | |
| | ||||||
* | BUG: Ticket #1690, fix overflow error in randint. Slightly modified from the | Justin Peel | 2011-01-24 | 1 | -0/+9 | |
| | | | | original by committer. | |||||
* | BUG: random: accept Python long as input to np.random.permutation (#1535) | Pauli Virtanen | 2010-07-09 | 1 | -0/+6 | |
| | ||||||
* | Make logseries test deterministic. | Charles Harris | 2009-03-14 | 1 | -3/+4 | |
| | ||||||
* | Fix tickets #921 and #923. Add regression tests. | Charles Harris | 2009-03-14 | 1 | -10/+32 | |
| | ||||||
* | Applied Anand's patch fixing Ticket #986 regarding the domain of the Von ↵ | dhuard | 2009-03-09 | 1 | -0/+11 | |
| | | | | Mises random variable generator. Regression test added. | |||||
* | BUG: Allow floating point argument n to negative binomial distribution. | Robert Kern | 2008-08-23 | 1 | -0/+6 | |
| | ||||||
* | Restore old test framework classes. | Alan McIntyre | 2008-06-21 | 1 | -1/+1 | |
| | | | | | | | | | | | Added numpy.testing.run_module_suite to simplify "if __name__ == '__main__'" boilerplate code in test modules. Removed numpy/testing/pkgtester.py since it just consisted of an import statement after porting SciPy r4424. Allow numpy.*.test() to accept the old keyword arguments (but issue a deprecation warning when old arguments are seen). numpy.*.test() returns a test result object as before. Fixed typo in distutils doc. | |||||
* | Switched to use nose to run tests. Added test and bench functions to all ↵ | Alan McIntyre | 2008-06-17 | 1 | -3/+3 | |
| | | | | modules. | |||||
* | Add the cached Gaussian to the state tuple. Preserve backwards compatibility ↵ | Robert Kern | 2008-04-09 | 1 | -0/+23 | |
| | | | | with the old state tuple. | |||||
* | Fix #581. | Robert Kern | 2008-04-09 | 1 | -0/+23 | |
| | ||||||
* | more janitorial work | Jarrod Millman | 2007-12-29 | 1 | -3/+3 | |
| | ||||||
* | Fix randint for negative interval. | Stefan van der Walt | 2007-11-23 | 1 | -0/+6 | |
| | ||||||
* | Rename test classes to CapWords. | Stefan van der Walt | 2007-10-02 | 1 | -1/+1 | |
| | ||||||
* | Temporary workaround for problem with 'multivariate' when specifying zero | Stefan van der Walt | 2007-08-28 | 1 | -0/+13 | |
probabilities. |