Commit 4997be7
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 a8f0d84 commit 4997be7
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1041 | 1041 | | |
1042 | 1042 | | |
1043 | 1043 | | |
1044 | | - | |
| 1044 | + | |
1045 | 1045 | | |
1046 | 1046 | | |
1047 | 1047 | | |
| |||
0 commit comments