From 640f7e8d2183135727723d469318517f770f66b3 Mon Sep 17 00:00:00 2001 From: Oliver Sander <sander@igpm.rwth-aachen.de> Date: Tue, 3 Sep 2013 16:29:22 +0000 Subject: [PATCH] Avoid signed/unsigned warning [[Imported from SVN: r9393]] --- dune/gfe/riemanniantrsolver.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dune/gfe/riemanniantrsolver.cc b/dune/gfe/riemanniantrsolver.cc index 12203ab2..236b732c 100644 --- a/dune/gfe/riemanniantrsolver.cc +++ b/dune/gfe/riemanniantrsolver.cc @@ -396,7 +396,7 @@ void RiemannianTrustRegionSolver<GridType,TargetSpace>::solve() // //////////////////////////////////////////////////// SolutionType newIterate = x_; - for (int j=0; j<newIterate.size(); j++) + for (size_t j=0; j<newIterate.size(); j++) newIterate[j] = TargetSpace::exp(newIterate[j], corr[j]); double energy = assembler_->computeEnergy(newIterate); -- GitLab