You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datasketches.apache.org by al...@apache.org on 2024/02/26 18:55:47 UTC
(datasketches-cpp) 01/02: fixed return type
This is an automated email from the ASF dual-hosted git repository.
alsay pushed a commit to branch tdigest
in repository https://gitbox.apache.org/repos/asf/datasketches-cpp.git
commit ba0f8a50ed383096b9e7e6b5b3cfdef4d187233b
Author: AlexanderSaydakov <Al...@users.noreply.github.com>
AuthorDate: Mon Feb 26 10:53:28 2024 -0800
fixed return type
---
tdigest/include/tdigest.hpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tdigest/include/tdigest.hpp b/tdigest/include/tdigest.hpp
index b86e4ec..0044bf7 100644
--- a/tdigest/include/tdigest.hpp
+++ b/tdigest/include/tdigest.hpp
@@ -95,7 +95,7 @@ public:
mean_ += (other.mean_ - mean_) * other.weight_ / weight_;
}
T get_mean() const { return mean_; }
- T get_weight() const { return weight_; }
+ W get_weight() const { return weight_; }
private:
T mean_;
W weight_;
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org