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 2023/04/24 18:07:54 UTC
[datasketches-cpp] branch cleanup created (now 0420b84)
This is an automated email from the ASF dual-hosted git repository.
alsay pushed a change to branch cleanup
in repository https://gitbox.apache.org/repos/asf/datasketches-cpp.git
at 0420b84 minor cleanup
This branch includes the following new commits:
new 0420b84 minor cleanup
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org
[datasketches-cpp] 01/01: minor cleanup
Posted by al...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
alsay pushed a commit to branch cleanup
in repository https://gitbox.apache.org/repos/asf/datasketches-cpp.git
commit 0420b84a41f592421c527d7fa498bba909689e03
Author: AlexanderSaydakov <Al...@users.noreply.github.com>
AuthorDate: Mon Apr 24 11:07:02 2023 -0700
minor cleanup
---
cpc/include/cpc_sketch_impl.hpp | 2 +-
kll/include/kll_helper.hpp | 1 -
req/include/req_compactor_impl.hpp | 2 --
3 files changed, 1 insertion(+), 4 deletions(-)
diff --git a/cpc/include/cpc_sketch_impl.hpp b/cpc/include/cpc_sketch_impl.hpp
index 0881b70..c5f467e 100644
--- a/cpc/include/cpc_sketch_impl.hpp
+++ b/cpc/include/cpc_sketch_impl.hpp
@@ -359,7 +359,7 @@ void cpc_sketch_alloc<A>::refresh_kxp(const uint64_t* bit_matrix) {
// for improved numerical accuracy, we separately sum the bytes of the U64's
double byte_sums[8]; // allocating on the stack
- std::fill(byte_sums, &byte_sums[8], 0);
+ std::fill(byte_sums, byte_sums + 8, 0);
for (size_t i = 0; i < k; i++) {
uint64_t word = bit_matrix[i];
diff --git a/kll/include/kll_helper.hpp b/kll/include/kll_helper.hpp
index 750dd7e..ff7a5fe 100644
--- a/kll/include/kll_helper.hpp
+++ b/kll/include/kll_helper.hpp
@@ -20,7 +20,6 @@
#ifndef KLL_HELPER_HPP_
#define KLL_HELPER_HPP_
-#include <random>
#include <stdexcept>
namespace datasketches {
diff --git a/req/include/req_compactor_impl.hpp b/req/include/req_compactor_impl.hpp
index bef70eb..f650ca8 100755
--- a/req/include/req_compactor_impl.hpp
+++ b/req/include/req_compactor_impl.hpp
@@ -28,8 +28,6 @@
#include "conditional_forward.hpp"
#include "common_defs.hpp"
-#include <iomanip>
-
namespace datasketches {
template<typename T, typename C, typename A>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org