Skip to content

Commit

Permalink
Undo previous workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
pitrou committed Aug 30, 2022
1 parent c77a1e1 commit 2e8620b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions cpp/src/arrow/compute/kernels/aggregate_internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@

#pragma once

#include <cassert>

#include "arrow/compute/kernels/util_internal.h"
#include "arrow/type.h"
#include "arrow/type_traits.h"
Expand Down Expand Up @@ -176,9 +174,7 @@ enable_if_t<std::is_floating_point<SumType>::value, SumType> SumArray(
block_sum = sum[cur_level];
sum[cur_level] = 0;
++cur_level;
// XXX not using DCHECK here because of a reproducible internal compiler error
// on gcc 7.5.0.
assert(cur_level < levels);
DCHECK_LT(cur_level, levels);
cur_level_mask <<= 1;
sum[cur_level] += block_sum;
mask ^= cur_level_mask;
Expand Down

0 comments on commit 2e8620b

Please sign in to comment.