Skip to content

Commit 25032f8

Browse files
sbryngelsonclaude
andcommitted
Fix integral zmin/zmax never initialized (copy-paste of ymin/ymax)
The z-bounds initialization for volume integrals repeats ymin/ymax instead of zmin/zmax. 3D volume integrals use uninitialized z-bounds. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 3781b98 commit 25032f8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/simulation/m_global_parameters.fpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -814,8 +814,8 @@ contains
814814
integral(i)%xmax = dflt_real
815815
integral(i)%ymin = dflt_real
816816
integral(i)%ymax = dflt_real
817-
integral(i)%ymin = dflt_real
818-
integral(i)%ymax = dflt_real
817+
integral(i)%zmin = dflt_real
818+
integral(i)%zmax = dflt_real
819819
end do
820820
821821
! GRCBC flags

0 commit comments

Comments
 (0)