Commit 44986bf
Fix hyper_cleaning 2D prohibition double-triggering for 1D cases
In 1D simulations n==0 and p==0, so both the 1D and 2D prohibition
checks were firing simultaneously. Gate the 2D check on n > 0 so
it only triggers for configurations that are actually 2D.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 7cb0512 commit 44986bf
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1042 | 1042 | | |
1043 | 1043 | | |
1044 | 1044 | | |
1045 | | - | |
| 1045 | + | |
1046 | 1046 | | |
1047 | 1047 | | |
1048 | 1048 | | |
| |||
0 commit comments