Skip to content

Commit 7665c5c

Browse files
committed
fix seg fault
1 parent 3542ef2 commit 7665c5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/simulation/m_start_up.fpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ contains
212212
if (cfl_adap_dt .or. cfl_const_dt .or. rkck_adap_dt) cfl_dt = .true.
213213

214214
if (any((/bc_x%beg, bc_x%end, bc_y%beg, bc_y%end, bc_z%beg, bc_z%end/) == -17) .or. &
215-
num_bc_patches /= dflt_int) then
215+
num_bc_patches > 0) then
216216
read_bc = .true.
217217
endif
218218

0 commit comments

Comments
 (0)