From de0be5a0780d5d223ff0b49a7e4cc335dc884428 Mon Sep 17 00:00:00 2001 From: Elias Pipping <elias.pipping@fu-berlin.de> Date: Sun, 30 Oct 2011 01:53:17 +0200 Subject: [PATCH] Constness --- src/myblockproblem.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/myblockproblem.hh b/src/myblockproblem.hh index ef25c3e0..ceed350d 100644 --- a/src/myblockproblem.hh +++ b/src/myblockproblem.hh @@ -105,7 +105,7 @@ class MyBlockProblem<ConvexProblemTypeTEMPLATE>::IterateObject { typename MatrixType::row_type::ConstIterator it; typename MatrixType::row_type::ConstIterator end = problem.A[i].end(); for (it = problem.A[m].begin(); it != end; ++it) { - int j = it.index(); + int const j = it.index(); if (j == m) localA = &(*it); // localA = &A[m][m] -- GitLab