Skip to content

Commit 8ea1536

Browse files
committed
Hopefully finish CI corrections
1 parent e238db1 commit 8ea1536

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/wide_decimal.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ jobs:
474474
fail-fast: false
475475
matrix:
476476
compiler: [ g++ ]
477-
standard: [ c++17, c++20 ]
477+
standard: [ c++20 ]
478478
steps:
479479
- uses: actions/checkout@v6
480480
with:

math/wide_decimal/decwide_t.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1485,7 +1485,7 @@
14851485
/ nn
14861486
);
14871487

1488-
my_data[index_prev] = val_prev;
1488+
my_data[index_prev] = val_prev; // NOLINT(cppcoreguidelines-pro-bounds-constant-array-index)
14891489
}
14901490
}
14911491

@@ -2528,7 +2528,7 @@
25282528
++limb_index)
25292529
{
25302530
val *= static_cast<unsigned long long>(decwide_t_elem_mask); // NOLINT(google-runtime-int)
2531-
val += static_cast<unsigned long long>(xn.my_data[limb_index]); // NOLINT(google-runtime-int)
2531+
val += static_cast<unsigned long long>(xn.my_data[limb_index]); // NOLINT(google-runtime-int,cppcoreguidelines-pro-bounds-constant-array-index)
25322532
}
25332533

25342534
unsigned_long_long_result = val;

0 commit comments

Comments
 (0)