Skip to content

Commit 7e085da

Browse files
committed
Relax check
1 parent 8cdc70b commit 7e085da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cpp/src/arrow/compute/kernels/aggregate_test.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3275,8 +3275,8 @@ void CheckVarStd(const Datum& array, const VarianceOptions& options,
32753275
auto var = checked_cast<const DoubleScalar*>(out_var.scalar().get());
32763276
auto std = checked_cast<const DoubleScalar*>(out_std.scalar().get());
32773277
ASSERT_TRUE(var->is_valid && std->is_valid);
3278-
AssertWithinUlp(std->value * std->value, var->value, /*n_ulps=*/3);
3279-
AssertWithinUlp(var->value, expected_var, /*n_ulps=*/3);
3278+
AssertWithinUlp(std->value * std->value, var->value, /*n_ulps=*/2);
3279+
AssertWithinUlp(var->value, expected_var, /*n_ulps=*/5);
32803280
}
32813281

32823282
template <typename ArrowType>

0 commit comments

Comments
 (0)