diff options
| author | Douglas Rumbaugh <dbr4@psu.edu> | 2024-04-30 14:18:08 -0400 |
|---|---|---|
| committer | Douglas Rumbaugh <dbr4@psu.edu> | 2024-04-30 14:18:08 -0400 |
| commit | 47a386b50d904d3f1b7ce3cfc13c29ea96dd1e43 (patch) | |
| tree | e37b21e18dd9977e4ba90af46605ad3b5c928b45 /benchmarks/include/triespline_bsm.h | |
| parent | c61164545f4c113fb17eb993e393bbf97373cfb3 (diff) | |
| download | dynamic-extension-47a386b50d904d3f1b7ce3cfc13c29ea96dd1e43.tar.gz | |
Added VPTree BSM benchmark
Diffstat (limited to 'benchmarks/include/triespline_bsm.h')
| -rw-r--r-- | benchmarks/include/triespline_bsm.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/benchmarks/include/triespline_bsm.h b/benchmarks/include/triespline_bsm.h index 4276074..dfddc43 100644 --- a/benchmarks/include/triespline_bsm.h +++ b/benchmarks/include/triespline_bsm.h @@ -2,6 +2,7 @@ #include <cstdlib> #include <vector> +#include <algorithm> #include "ts/builder.h" template <typename K, typename V, size_t E=1024> @@ -52,7 +53,7 @@ public: return std::move(rs); } - std::vector<R> query_merge(std::vector<R> &rsa, std::vector<R> &rsb) { + std::vector<R> query_merge(std::vector<R> &rsa, std::vector<R> &rsb, void *parms) { rsa[0].first += rsb[0].first; return std::move(rsa); } |