Skip to content

Commit

Permalink
Merge pull request #14 from mheffner/test-float-thresh
Browse files Browse the repository at this point in the history
Reduce error thresh slightly to fix flapping test
  • Loading branch information
mheffner authored Jun 1, 2024
2 parents 9c4da2d + a81e4be commit cef4c2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_ddsketch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const TEST_MAX_BINS: u32 = 1024;
const TEST_MIN_VALUE: f64 = 1.0e-9;

// Used for float equality
const TEST_ERROR_THRESH: f64 = 1.0e-10;
const TEST_ERROR_THRESH: f64 = 1.0e-9;

const TEST_SIZES: [usize; 5] = [3, 5, 10, 100, 1000];
const TEST_QUANTILES: [f64; 10] = [0.0, 0.1, 0.25, 0.5, 0.75, 0.9, 0.95, 0.99, 0.999, 1.0];
Expand Down

0 comments on commit cef4c2a

Please sign in to comment.