Commit e3d8766
committed
fix: use std::all_of in sparse empty/equal and skip huge-axis test on 32-bit
Replace manual early-return loops in histogram_empty and histogram_equal
with std::all_of to satisfy the readability-use-anyofallof clang-tidy rule.
Skip test_huge_axis_ops_iterate_filled_cells_only on 32-bit Python: a
100000^3 histogram has ~10^15 cells, overflowing 32-bit std::size_t linear
keys, so is_inner_cell misclassifies filled cells on those platforms.
Assisted-by: ClaudeCode:claude-sonnet-4-61 parent ef75137 commit e3d8766
2 files changed
Lines changed: 12 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
320 | 321 | | |
321 | 322 | | |
322 | 323 | | |
323 | | - | |
324 | | - | |
325 | | - | |
326 | | - | |
327 | | - | |
328 | | - | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
329 | 327 | | |
330 | 328 | | |
331 | | - | |
332 | | - | |
333 | | - | |
334 | | - | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
335 | 332 | | |
336 | 333 | | |
337 | 334 | | |
| |||
358 | 355 | | |
359 | 356 | | |
360 | 357 | | |
361 | | - | |
362 | | - | |
363 | | - | |
364 | | - | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
365 | 361 | | |
366 | 362 | | |
367 | 363 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
134 | 135 | | |
135 | 136 | | |
136 | 137 | | |
| 138 | + | |
137 | 139 | | |
138 | 140 | | |
139 | 141 | | |
| |||
0 commit comments