Skip to content

Commit 9b1e8b7

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 d0efe62 commit 9b1e8b7

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
@@ -819,8 +819,8 @@ contains
819819
integral(i)%xmax = dflt_real
820820
integral(i)%ymin = dflt_real
821821
integral(i)%ymax = dflt_real
822-
integral(i)%ymin = dflt_real
823-
integral(i)%ymax = dflt_real
822+
integral(i)%zmin = dflt_real
823+
integral(i)%zmax = dflt_real
824824
end do
825825
826826
! GRCBC flags

0 commit comments

Comments
 (0)