]> https://gitweb.dealii.org/ - dealii.git/commitdiff
silence warning 1877/head
authorESeNonFossiIo <esenonfossiio@gmail.com>
Mon, 16 Nov 2015 14:46:43 +0000 (15:46 +0100)
committerESeNonFossiIo <esenonfossiio@gmail.com>
Mon, 16 Nov 2015 14:47:05 +0000 (15:47 +0100)
include/deal.II/lac/block_linear_operator.h

index 5182815646ada68e204ef63cf8620ab269795d15..7602e47b85b1bd41bfcd9f70f3cb97e2467cc5a8 100644 (file)
@@ -793,7 +793,7 @@ block_back_substitution(const BlockLinearOperator<Range, Domain> &block_operator
         auto &dst = v.block(i);
         dst = u.block(i);
         dst *= -1.;
-        for (int j = i + 1; j < m; ++j)
+        for (unsigned int j = i + 1; j < m; ++j)
           block_operator.block(i, j).vmult_add(dst, v.block(j));
         dst *= -1.;
         diagonal_inverse.block(i, i).vmult(dst, dst); // uses intermediate storage
@@ -824,7 +824,7 @@ block_back_substitution(const BlockLinearOperator<Range, Domain> &block_operator
         diagonal_inverse.block(i, i).reinit_range_vector(*tmp, /*bool omit_zeroing_entries=*/ true);
         *tmp = u.block(i);
         *tmp *= -1.;
-        for (int j = i + 1; j < m; ++j)
+        for (unsigned int j = i + 1; j < m; ++j)
           block_operator.block(i, j).vmult_add(*tmp,v.block(j));
         *tmp *= -1.;
         diagonal_inverse.block(i, i).vmult_add(v.block(i),*tmp);

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.