]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Update include/deal.II/base/utilities.h 9595/head
authorDaniel Arndt <arndtd@ornl.gov>
Mon, 2 Mar 2020 20:18:43 +0000 (15:18 -0500)
committerGitHub <noreply@github.com>
Mon, 2 Mar 2020 20:18:43 +0000 (15:18 -0500)
Co-Authored-By: Martin Kronbichler <kronbichler@lnm.mw.tum.de>
include/deal.II/base/utilities.h

index 887576437c79f80124d7823fc0448ec153308250..f064ce980864730d5a37b5fc73166b439fb36d5b 100644 (file)
@@ -1461,7 +1461,7 @@ namespace Utilities
 
     // check that we have actually reached
     // all indices
-    for (unsigned int i = 0; i < n; ++i)
+    for (std::size_t i = 0; i < n; ++i)
       Assert(out[i] != numbers::invalid_unsigned_int,
              ExcMessage("The given input permutation had duplicate entries!"));
 

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.