]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix MSVC warning in step-63. 17242/head
authorMarc Fehling <mafehling.git@gmail.com>
Wed, 10 Jul 2024 16:18:40 +0000 (18:18 +0200)
committerMarc Fehling <mafehling.git@gmail.com>
Wed, 10 Jul 2024 16:18:40 +0000 (18:18 +0200)
examples/step-63/step-63.cc

index 0f305a8545a0be6ccf6dc19c0defc56c23db0d5b..f6cd947fff48c8729a02dcb2ae933a4aa6d25123 100644 (file)
@@ -1180,7 +1180,7 @@ namespace Step63
   template <int dim>
   void AdvectionProblem<dim>::run()
   {
-    for (unsigned int cycle = 0; cycle < (settings.fe_degree == 1 ? 7 : 5);
+    for (unsigned int cycle = 0; cycle < (settings.fe_degree == 1 ? 7u : 5u);
          ++cycle)
       {
         std::cout << "  Cycle " << cycle << ':' << std::endl;

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.