Commits

barbasa committed a95994a

Fixed tolerance in tests, updated MANIFEST and Changes

  • Participants
  • Parent commits 500bc2a

Comments (0)

Files changed (4)

Statistics-Descriptive/Changes

 Revision history for Perl extension Statistics::Descriptive.
 
+3.0603      May 15, 2012
+    - Use in_between to compare decimal numbers
+        - Smoothing tests were failing because of rounding problems
+        - Thanks to Andreas J. König to report it and to Fabio
+          Ponciroli to fix it.
+
 3.0602      May 12, 2012
     - Correct a typo:
         - https://rt.cpan.org/Ticket/Display.html?id=77145

Statistics-Descriptive/MANIFEST

 rejects/descr.t
 scripts/tag-release.pl
 scripts/bump-version-number.pl
+t/lib/Utils.pm
 t/00-load.t
 t/descr.t
 t/descr_smooth_methods.t

Statistics-Descriptive/t/smoother_exponential.t

     );
 
     # TEST*10
-    is_array_between( \@smoothed_data, \@expected_values, 1E-13, 1E+13, 'Smoothing with C=0.5');
+    is_array_between( \@smoothed_data, \@expected_values, 1E-13, 1E-13, 'Smoothing with C=0.5');
 }
 
 1;

Statistics-Descriptive/t/smoother_weightedexponential.t

     );
 
     # TEST*10
-    is_array_between( \@smoothed_data, \@expected_values, 1E-13, 1E+13, 'Smoothing with C=0.5');
+    is_array_between( \@smoothed_data, \@expected_values, 1E-13, 1E-13, 'Smoothing with C=0.5');
 }
 
 {