]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Update tests/performance/timing_step_68.cc 15717/head
authorBruno Blais <blais.bruno@gmail.com>
Tue, 11 Jul 2023 14:56:40 +0000 (10:56 -0400)
committerGitHub <noreply@github.com>
Tue, 11 Jul 2023 14:56:40 +0000 (10:56 -0400)
Co-authored-by: Timo Heister <timo.heister@gmail.com>
tests/performance/timing_step_68.cc

index b3f3edb734e481e6fdc3e80a982aef5ceb572887..632fbf971169786365a8bd48d64059d1d495cdc2 100644 (file)
@@ -326,7 +326,7 @@ namespace Step68
     FEPointEvaluation<dim, dim> evaluator(mapping, fluid_fe, update_values);
 
     const double this_mpi_process =
-      (double)Utilities::MPI::this_mpi_process(mpi_communicator);
+      static_cast<double>(Utilities::MPI::this_mpi_process(mpi_communicator));
 
     auto particle = particle_handler.begin();
     while (particle != particle_handler.end())

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.