Skip to content
Snippets Groups Projects
Commit de0be5a0 authored by Elias Pipping's avatar Elias Pipping Committed by Elias Pipping
Browse files

Constness

parent b8bf4135
No related branches found
No related tags found
No related merge requests found
...@@ -105,7 +105,7 @@ class MyBlockProblem<ConvexProblemTypeTEMPLATE>::IterateObject { ...@@ -105,7 +105,7 @@ class MyBlockProblem<ConvexProblemTypeTEMPLATE>::IterateObject {
typename MatrixType::row_type::ConstIterator it; typename MatrixType::row_type::ConstIterator it;
typename MatrixType::row_type::ConstIterator end = problem.A[i].end(); typename MatrixType::row_type::ConstIterator end = problem.A[i].end();
for (it = problem.A[m].begin(); it != end; ++it) { for (it = problem.A[m].begin(); it != end; ++it) {
int j = it.index(); int const j = it.index();
if (j == m) if (j == m)
localA = &(*it); // localA = &A[m][m] localA = &(*it); // localA = &A[m][m]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment