From 712a5fe6181138a5ac04740ba1e6f09ed6b6e9c5 Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Fri, 1 May 2020 11:54:45 -0400 Subject: [PATCH] remove warning --- time_dependent_navier_stokes/time_dependent_navier_stokes.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/time_dependent_navier_stokes/time_dependent_navier_stokes.cc b/time_dependent_navier_stokes/time_dependent_navier_stokes.cc index ac9b015..ea012ca 100644 --- a/time_dependent_navier_stokes/time_dependent_navier_stokes.cc +++ b/time_dependent_navier_stokes/time_dependent_navier_stokes.cc @@ -296,13 +296,13 @@ namespace fluid bool Time::time_to_output() const { - unsigned int delta = output_interval / delta_t; + unsigned int delta = static_cast(output_interval / delta_t); return (timestep >= delta && timestep % delta == 0); } bool Time::time_to_refine() const { - unsigned int delta = refinement_interval / delta_t; + unsigned int delta = static_cast(refinement_interval / delta_t); return (timestep >= delta && timestep % delta == 0); } -- 2.39.5