Commit 2d65b67
Fix loc_violations used uninitialized in MPI_Allreduce
loc_violations is never set to 0 before the conditional that may or
may not assign it. Non-violating ranks sum garbage in the reduction.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 3781b98 commit 2d65b67
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
476 | 476 | | |
477 | 477 | | |
478 | 478 | | |
479 | | - | |
| 479 | + | |
480 | 480 | | |
481 | 481 | | |
482 | 482 | | |
| |||
0 commit comments