Skip to content

Commit

Permalink
obtain allocator from the input
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderSaydakov committed Feb 26, 2024
1 parent f25c6f6 commit 554e4e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tdigest/include/tdigest_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ internal_k_(k),
min_(min),
max_(max),
centroids_capacity_(0),
centroids_(std::move(centroids), allocator),
centroids_(std::move(centroids)),
centroids_weight_(total_weight),
buffer_capacity_(0),
buffer_(allocator),
Expand Down

0 comments on commit 554e4e9

Please sign in to comment.