diff --git a/src/incflo_advance.cpp b/src/incflo_advance.cpp index 459c0a80..8c33dd8d 100644 --- a/src/incflo_advance.cpp +++ b/src/incflo_advance.cpp @@ -10,7 +10,7 @@ void incflo::Advance() Real strt_step = static_cast(ParallelDescriptor::second()); // Compute time step size - int initialisation = 0; + int initialisation = ( m_dt < 0 ); bool explicit_diffusion = (m_diff_type == DiffusionType::Explicit); ComputeDt(initialisation, explicit_diffusion);