Skip to content

Commit

Permalink
Merge pull request #367 from apache/cleanup
Browse files Browse the repository at this point in the history
minor cleanup
  • Loading branch information
AlexanderSaydakov authored Apr 24, 2023
2 parents 60721b9 + 0420b84 commit d89e7c1
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion cpc/include/cpc_sketch_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down
1 change: 0 additions & 1 deletion kll/include/kll_helper.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
#ifndef KLL_HELPER_HPP_
#define KLL_HELPER_HPP_

#include <random>
#include <stdexcept>

namespace datasketches {
Expand Down
2 changes: 0 additions & 2 deletions req/include/req_compactor_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
#include "conditional_forward.hpp"
#include "common_defs.hpp"

#include <iomanip>

namespace datasketches {

template<typename T, typename C, typename A>
Expand Down

0 comments on commit d89e7c1

Please sign in to comment.