Commit 3cba77c
Guard z_cc access in hyper_cleaning init for 2D case (p=0)
z_cc is only allocated when p > 0. The previous commit accessed z_cc(l)
unconditionally, which would crash or read garbage in 2D runs.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent c6a638c commit 3cba77c
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
790 | 790 | | |
791 | 791 | | |
792 | 792 | | |
793 | | - | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
794 | 798 | | |
795 | 799 | | |
796 | 800 | | |
| |||
0 commit comments