diff options
| author | Douglas Rumbaugh <dbr4@psu.edu> | 2024-04-19 16:50:18 -0400 |
|---|---|---|
| committer | Douglas Rumbaugh <dbr4@psu.edu> | 2024-04-19 16:50:18 -0400 |
| commit | 8479f3ce863dfb6d3b20ff4678fa6fe92ee86b52 (patch) | |
| tree | ae59b1f053f3206198be308f0cdde76046baa4f4 /include/query/irs.h | |
| parent | ae189be91ec135629c7ad62888cd98183494c075 (diff) | |
| download | dynamic-extension-8479f3ce863dfb6d3b20ff4678fa6fe92ee86b52.tar.gz | |
Fixed some benchmarking bugs
Diffstat (limited to 'include/query/irs.h')
| -rw-r--r-- | include/query/irs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/query/irs.h b/include/query/irs.h index e2d9325..51eb4e2 100644 --- a/include/query/irs.h +++ b/include/query/irs.h @@ -103,7 +103,7 @@ public: weights.push_back((bs) ? bs->records.size() : 0); } - size_t total_weight = 0; + size_t total_weight = weights[0]; for (auto &s : shard_states) { auto state = (State<R> *) s; total_weight += state->total_weight; |