Commit 32ff8f1
fix: call SetKnownOppRack after PrepareSim to prevent clearing
PrepareSim() was clearing knownOppRack to nil, so we need to call
SetKnownOppRack AFTER PrepareSim, not before. This fixes the bug where
the analyzer was not actually using the known opponent rack even though
it logged that it was.
Verified that the PEG solver does not have this issue - it does not
clear knownOppRack in its Init or Solve methods.
Also cleaned up excessive debug logging.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent bf73ff0 commit 32ff8f1
1 file changed
+10
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
176 | 179 | | |
177 | 180 | | |
178 | 181 | | |
| |||
578 | 581 | | |
579 | 582 | | |
580 | 583 | | |
581 | | - | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
582 | 591 | | |
583 | 592 | | |
584 | 593 | | |
| |||
587 | 596 | | |
588 | 597 | | |
589 | 598 | | |
590 | | - | |
591 | | - | |
592 | | - | |
593 | | - | |
594 | | - | |
595 | | - | |
596 | 599 | | |
597 | 600 | | |
598 | 601 | | |
| |||
0 commit comments