summaryrefslogtreecommitdiffstats
path: root/include/shard
diff options
context:
space:
mode:
authorDouglas Rumbaugh <dbr4@psu.edu>2023-07-24 18:51:26 -0400
committerDouglas Rumbaugh <dbr4@psu.edu>2023-07-24 18:51:26 -0400
commit9147e23fe5c4e24a216030ea285de801c4c8a98a (patch)
tree9dfe9b831d667dfc4f7cbb71f4bdec4fca62d4fd /include/shard
parentad95b1312b86426e149362166a560dea0ba920fe (diff)
downloaddynamic-extension-9147e23fe5c4e24a216030ea285de801c4c8a98a.tar.gz
VPTree: bugfix
Diffstat (limited to 'include/shard')
-rw-r--r--include/shard/VPTree.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/shard/VPTree.h b/include/shard/VPTree.h
index bbb3e50..66b67e5 100644
--- a/include/shard/VPTree.h
+++ b/include/shard/VPTree.h
@@ -492,7 +492,7 @@ public:
std::vector<R> output;
while (pq.size() > 0) {
- output.emplace(*pq.peek().data);
+ output.emplace_back(*pq.peek().data);
pq.pop();
}