From b17258c29c879d53d5066e826d477f46cc634d63 Mon Sep 17 00:00:00 2001 From: Oliver Sander <sander@igpm.rwth-aachen.de> Date: Sat, 28 Mar 2015 12:49:55 +0100 Subject: [PATCH] Avoid signed/unsigned warning --- dune/gfe/neumannenergy.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dune/gfe/neumannenergy.hh b/dune/gfe/neumannenergy.hh index 57ce0ab3..72b095e0 100644 --- a/dune/gfe/neumannenergy.hh +++ b/dune/gfe/neumannenergy.hh @@ -68,7 +68,7 @@ public: localFiniteElement.localBasis().evaluateFunction(quadPos, shapeFunctionValues); Dune::FieldVector<field_type,dim> value(0); - for (int i=0; i<localFiniteElement.size(); i++) + for (size_t i=0; i<localFiniteElement.size(); i++) for (int j=0; j<dim; j++) value[j] += shapeFunctionValues[i] * localConfiguration[i][j]; -- GitLab