From e6669fcbf65c573aa46346f7cb551d8b97531fde Mon Sep 17 00:00:00 2001 From: Krisztian Szucs Date: Fri, 20 Dec 2024 10:08:17 +0100 Subject: [PATCH] make msvc happy --- cpp/src/arrow/compute/kernels/scalar_hash_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();