Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
zeroshade committed Sep 16, 2024
1 parent 537822b commit 70f3ead
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/src/arrow/testing/random.cc
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ struct SmallDecimalGenerator {
std::shared_ptr<Array> MakeRandomArray(int64_t size, double null_probability,
int64_t alignment, MemoryPool* memory_pool) {
static constexpr int32_t kMaxDigitsInInteger =
std::is_same_v<DecimalType, Decimal32Type> ? 9 : 18;
std::is_same_v<DecimalType, Decimal32Type> ? 9 : 18;
static_assert(
kMaxDigitsInInteger >= DecimalType::kByteWidth,
"inconsistent decimal metadata: kMaxPrecision doesn't match kByteWidth");
Expand Down

0 comments on commit 70f3ead

Please sign in to comment.