From 5636838a6e64760c291b00107657a90428a0f9e1 Mon Sep 17 00:00:00 2001 From: Douglas Rumbaugh Date: Wed, 1 May 2024 15:59:48 -0400 Subject: File Util: fixed the reading in of undesired queries --- benchmarks/include/file_util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'benchmarks/include') diff --git a/benchmarks/include/file_util.h b/benchmarks/include/file_util.h index b5b3417..ebcf17e 100644 --- a/benchmarks/include/file_util.h +++ b/benchmarks/include/file_util.h @@ -49,7 +49,7 @@ static std::vector read_range_queries(std::string &fname, double selectivity size_t start, stop; double sel; while (fscanf(qf, "%zu%zu%lf\n", &start, &stop, &sel) != EOF) { - if (start < stop && std::abs(sel - selectivity) < 0.1) { + if (start < stop && std::abs(sel - selectivity) < 0.00001) { QP q; q.lower_bound = start; q.upper_bound = stop; -- cgit v1.2.3