From 70f3ead62b0c314ab91b1a1f23f8d149eeec5bf3 Mon Sep 17 00:00:00 2001 From: Matt Topol Date: Mon, 16 Sep 2024 17:57:58 -0400 Subject: [PATCH] linting --- cpp/src/arrow/testing/random.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/src/arrow/testing/random.cc b/cpp/src/arrow/testing/random.cc index 0614b9822e3b0..d540c2b19e65b 100644 --- a/cpp/src/arrow/testing/random.cc +++ b/cpp/src/arrow/testing/random.cc @@ -360,7 +360,7 @@ struct SmallDecimalGenerator { std::shared_ptr MakeRandomArray(int64_t size, double null_probability, int64_t alignment, MemoryPool* memory_pool) { static constexpr int32_t kMaxDigitsInInteger = - std::is_same_v ? 9 : 18; + std::is_same_v ? 9 : 18; static_assert( kMaxDigitsInInteger >= DecimalType::kByteWidth, "inconsistent decimal metadata: kMaxPrecision doesn't match kByteWidth");