Skip to content

Commit 249fd15

Browse files
committed
Possible fix 2
1 parent 9282c6d commit 249fd15

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/common/m_variables_conversion.fpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ contains
497497
pi_inf_K = 0._wp
498498
qv_K = 0._wp
499499
alpha_K_sum = 0._wp
500-
if (present(G_K) .and. present(G)) G_K = 0._wp
500+
501501
do i = 1, 2
502502
Re_K(i) = dflt_real
503503
end do
@@ -526,6 +526,7 @@ contains
526526
end do
527527

528528
if (present(G_K)) then
529+
G_K = 0._wp
529530
do i = 1, num_fluids
530531
!TODO: change to use Gs directly here?
531532
!TODO: Make this changes as well for GPUs

0 commit comments

Comments
 (0)