]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Update source/distributed/tria.cc 13448/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Fri, 25 Feb 2022 21:56:40 +0000 (14:56 -0700)
committerGitHub <noreply@github.com>
Fri, 25 Feb 2022 21:56:40 +0000 (14:56 -0700)
Co-authored-by: Marc Fehling <mafehling.git@gmail.com>
source/distributed/tria.cc

index af2cf7c3803a543eabf30af8524ce77354387d81..80ee4022e03d45598e315c8dfc032cbdc17b7dbd 100644 (file)
@@ -1518,7 +1518,7 @@ namespace
            ExcMessage("p4est uses 'signed int' to represent the partition "
                       "weights for cells. The weight provided here exceeds "
                       "the maximum value represented as a 'signed int'."));
-    return weight;
+    return static_cast<int>(weight);
   }
 
   template <int dim, int spacedim>

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.