diff --git a/cpp/src/arrow/compute/kernels/scalar_hash_test.cc b/cpp/src/arrow/compute/kernels/scalar_hash_test.cc index 0af8614b50539..839f012d564cc 100644 --- a/cpp/src/arrow/compute/kernels/scalar_hash_test.cc +++ b/cpp/src/arrow/compute/kernels/scalar_hash_test.cc @@ -136,7 +136,7 @@ class TestScalarHash : public ::testing::Test { } void CheckHashQuality(const std::string& func, const std::shared_ptr& arr, - float tolerance = 1.0) { + double tolerance = 1.0) { ASSERT_OK_AND_ASSIGN(Datum result, CallFunction(func, {arr})); auto hashes = result.make_array();