summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDouglas Rumbaugh <dbr4@psu.edu>2024-05-01 15:59:48 -0400
committerDouglas Rumbaugh <dbr4@psu.edu>2024-05-01 15:59:48 -0400
commit5636838a6e64760c291b00107657a90428a0f9e1 (patch)
treec733cd6d1ca9169d32c21f326e9366c906815ccf
parent160692f4b9f80c6eba7d18d3221fc1c3e3c3139e (diff)
downloaddynamic-extension-5636838a6e64760c291b00107657a90428a0f9e1.tar.gz
File Util: fixed the reading in of undesired queries
-rw-r--r--benchmarks/include/file_util.h2
1 files changed, 1 insertions, 1 deletions
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<QP> 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;