From b3a3f398025da3d2be4aa535d62dc4941b9563db Mon Sep 17 00:00:00 2001 From: John Maddock Date: Sat, 17 Nov 2007 10:00:43 +0000 Subject: [PATCH] Ooops, check on wrong index, now fixed. [SVN r41169] --- test/test_igamma_inva.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_igamma_inva.cpp b/test/test_igamma_inva.cpp index dba5eddaf..e16f9e24a 100644 --- a/test/test_igamma_inva.cpp +++ b/test/test_igamma_inva.cpp @@ -170,7 +170,7 @@ void do_test_gamma_2(const T& data, const char* type_name, const char* test_name } else if(1 == data[i][5]) BOOST_CHECK_EQUAL(boost::math::gamma_p_inva(data[i][1], data[i][5]), boost::math::tools::min_value()); - else if(data[i][3] > 2 * boost::math::tools::min_value()) + else if(data[i][5] > 2 * boost::math::tools::min_value()) { // not enough bits in our input to get back to x, but we should be in // the same ball park: