Commit e4ac9c1
Fix wrong 4th arg in viscous finite-difference gradient call
The finite-difference gradient call passed dq_prim_dy_qp (y-gradient)
as the 4th argument instead of dq_prim_dz_qp (z-gradient). This meant
the z-derivative was never computed in the FD path, and the y-derivative
was written twice.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 4ff0bef commit e4ac9c1
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
985 | 985 | | |
986 | 986 | | |
987 | 987 | | |
988 | | - | |
| 988 | + | |
989 | 989 | | |
990 | 990 | | |
991 | 991 | | |
| |||
0 commit comments