]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix Wsign-compare warning 5537/head
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Mon, 27 Nov 2017 11:40:26 +0000 (12:40 +0100)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Mon, 27 Nov 2017 11:40:26 +0000 (12:40 +0100)
source/lac/sparsity_tools.cc

index fd450bd6593f99b41bd593ecb78d05852aa1233b..995cdf7a0bc1b615147682ee05b73d9d4a64983a 100644 (file)
@@ -182,7 +182,7 @@ namespace SparsityTools
 
       Assert ( numEdges != nullptr , ExcInternalError() );
 
-      for (unsigned int i=0; i<num_obj; ++i)
+      for (int i=0; i<num_obj; ++i)
         numEdges[i] = graph->row_length(globalID[i])-1;
     }
 

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.