Changeset 1210 for trunk/test/statistics_test.cc
 Timestamp:
 Mar 6, 2008, 5:00:44 PM (14 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/test/statistics_test.cc
r1120 r1210 52 52 double tolerance=1e10; 53 53 double skewness_gsl=statistics::skewness(gsl_vec); 54 if ( fabs(skewness_gsl)>tolerance)54 if (std::abs(skewness_gsl)>tolerance) 55 55 return 1; 56 56 double kurtosis_gsl=statistics::kurtosis(gsl_vec); 57 if ( fabs(kurtosis_gsl+1.5616363636363637113)>tolerance)57 if (std::abs(kurtosis_gsl+1.5616363636363637113)>tolerance) 58 58 return 1; 59 59 return 0;
Note: See TracChangeset
for help on using the changeset viewer.