Skip to content

Commit d89e7c1

Browse files
Merge pull request #367 from apache/cleanup
minor cleanup
2 parents 60721b9 + 0420b84 commit d89e7c1

3 files changed

Lines changed: 1 addition & 4 deletions

File tree

cpc/include/cpc_sketch_impl.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ void cpc_sketch_alloc<A>::refresh_kxp(const uint64_t* bit_matrix) {
359359

360360
// for improved numerical accuracy, we separately sum the bytes of the U64's
361361
double byte_sums[8]; // allocating on the stack
362-
std::fill(byte_sums, &byte_sums[8], 0);
362+
std::fill(byte_sums, byte_sums + 8, 0);
363363

364364
for (size_t i = 0; i < k; i++) {
365365
uint64_t word = bit_matrix[i];

kll/include/kll_helper.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
#ifndef KLL_HELPER_HPP_
2121
#define KLL_HELPER_HPP_
2222

23-
#include <random>
2423
#include <stdexcept>
2524

2625
namespace datasketches {

req/include/req_compactor_impl.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@
2828
#include "conditional_forward.hpp"
2929
#include "common_defs.hpp"
3030

31-
#include <iomanip>
32-
3331
namespace datasketches {
3432

3533
template<typename T, typename C, typename A>

0 commit comments

Comments
 (0)