This is the mail archive of the gsl-discuss@sources.redhat.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: GSL 0.9 Fails in test with VC++ 6.0


Jose Miguel Buenaposada Biencinto writes:
 >  Here we are trying to build a functional library of GSL 0.9 with
 > Visual C++ 6.0.
 >  When we build it in debug configuration there is no errors at all
 > in the test cases, but when we build the release versions of the
 > libraries and the test programs we get 28 failures (See below). It
 > seems to be related with the optimisation flags ("maximizate speed"
 > choosen, /O2 flag) because if we build all, in the release
 > configuration, but changing the optimization to "default" then we
 > get 0 errors.

I have checked in for the first two problems (integration and
multifit).

Could you try the following patch and let me know if it works for the
specfunc tests. Thanks.


Index: test_legendre.c
===================================================================
RCS file: /cvs/gsl/gsl/specfunc/test_legendre.c,v
retrieving revision 1.18
diff -u -r1.18 test_legendre.c
--- test_legendre.c	2001/07/12 14:26:32	1.18
+++ test_legendre.c	2001/07/30 16:51:45
@@ -96,7 +96,7 @@
   TEST_SF(s, gsl_sf_legendre_Plm_e, (100, 5, -0.5, &r), -6.617107444248382171e+08, TEST_TOL0, GSL_SUCCESS);
   TEST_SF(s, gsl_sf_legendre_Plm_e, (100, 5, 1.0e-08, &r), 817.8987598063712851, TEST_TOL0, GSL_SUCCESS);
   TEST_SF(s, gsl_sf_legendre_Plm_e, (100, 5, 0.5, &r), 6.617107444248382171e+08, TEST_TOL0, GSL_SUCCESS);
-  TEST_SF(s, gsl_sf_legendre_Plm_e, (100, 5, 0.999, &r), -1.9831610803806212189e+09, TEST_TOL1, GSL_SUCCESS);
+  TEST_SF(s, gsl_sf_legendre_Plm_e, (100, 5, 0.999, &r), -1.9831610803806212189e+09, TEST_TOL2, GSL_SUCCESS);
 
   sa = 0;
   gsl_sf_legendre_Plm_array(100, 5, 0.5, L);
@@ -108,7 +108,7 @@
 
   TEST_SF(s, gsl_sf_legendre_sphPlm_e, (10, 0, -0.5, &r), -0.24332702369300133776, TEST_TOL0, GSL_SUCCESS);
   TEST_SF(s, gsl_sf_legendre_sphPlm_e, (10, 0, 0.5, &r), -0.24332702369300133776, TEST_TOL0, GSL_SUCCESS);
-  TEST_SF(s, gsl_sf_legendre_sphPlm_e, (10, 0, 0.999, &r), 1.2225754122797385990, TEST_TOL0, GSL_SUCCESS);
+  TEST_SF(s, gsl_sf_legendre_sphPlm_e, (10, 0, 0.999, &r), 1.2225754122797385990, TEST_TOL1, GSL_SUCCESS);
 
   TEST_SF(s, gsl_sf_legendre_sphPlm_e, (10, 5, -0.5, &r),    -0.3725739049803293972,     TEST_TOL0, GSL_SUCCESS);
   TEST_SF(s, gsl_sf_legendre_sphPlm_e, (10, 5, 1.0e-08, &r), -3.1377233589376792243e-08, TEST_TOL0, GSL_SUCCESS);


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]