Skip to content

Commit a00249e

Browse files
committed
same fix but for simulation code
1 parent 38dce5b commit a00249e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/simulation_code/m_global_parameters.f90

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,7 @@ SUBROUTINE s_initialize_global_parameters_module() ! -------------------
606606

607607
ALLOCATE( weight(nb),R0(nb),V0(nb) )
608608
ALLOCATE( bub_idx%rs(nb), bub_idx%vs(nb) )
609-
609+
ALLOCATE( bub_idx%ps(nb), bub_idx%ms(nb) )
610610

611611
IF (num_fluids == 1) THEN
612612
gam = 1.d0/fluid_pp(num_fluids+1)%gamma + 1.d0
@@ -627,7 +627,6 @@ SUBROUTINE s_initialize_global_parameters_module() ! -------------------
627627
ELSE
628628
DO i = 1, nb
629629
IF (.NOT. polytropic) THEN
630-
ALLOCATE( bub_idx%ps(nb), bub_idx%ms(nb) )
631630
fac = 4
632631
ELSE
633632
fac = 2

0 commit comments

Comments
 (0)