Skip to content

Commit 49a9abd

Browse files
committed
fix debug build
1 parent effc375 commit 49a9abd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/simulation/m_sim_helpers.f90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,12 @@ pure subroutine s_compute_enthalpy(q_prim_vf, pres, rho, gamma, pi_inf, Re, H, a
7878

7979
if (igr) then
8080
!$acc loop seq
81-
do i = 1, num_dims
81+
do i = 1, num_vels
8282
vel(i) = q_prim_vf(contxe + i)%sf(j, k, l)/rho
8383
end do
8484
else
8585
!$acc loop seq
86-
do i = 1, num_dims
86+
do i = 1, num_vels
8787
vel(i) = q_prim_vf(contxe + i)%sf(j, k, l)
8888
end do
8989
end if

0 commit comments

Comments
 (0)