[NumPy-Tickets] [NumPy] #1801: Failure: test_noncentral_f in random
NumPy Trac
numpy-tickets@scipy....
Sun Apr 17 17:05:19 CDT 2011
#1801: Failure: test_noncentral_f in random
--------------------------+-------------------------------------------------
Reporter: rgommers | Owner: somebody
Type: defect | Status: new
Priority: normal | Milestone: 1.6.0
Component: numpy.random | Version: 1.5.1
Keywords: |
--------------------------+-------------------------------------------------
Comment(by cgohlke):
Could be that msvc9 compiled code for amd64 executed rk_chisquare() before
rk_noncentral_chisquare(), unlike code compiled by other compilers. In
that case the following should work reliable (not tested):
double rk_noncentral_f(rk_state *state, double dfnum, double dfden, double
nonc)
{
double t = rk_noncentral_chisquare(state, dfnum, nonc) * dfden;
return t / (rk_chisquare(state, dfden) * dfnum);
}
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/1801#comment:3>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list