From 3469a859cb67c3da85ecf66f3739bc56784080d5 Mon Sep 17 00:00:00 2001 From: Oliver Sander <sander@igpm.rwth-aachen.de> Date: Mon, 24 Mar 2014 08:15:14 +0000 Subject: [PATCH] Rename loop variable to fix ambiguity [[Imported from SVN: r9670]] --- cosserat-continuum.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cosserat-continuum.cc b/cosserat-continuum.cc index 0a5e0c8c..b30d51d1 100644 --- a/cosserat-continuum.cc +++ b/cosserat-continuum.cc @@ -332,9 +332,9 @@ int main (int argc, char *argv[]) try std::vector<FieldVector<double,3> > dV; Functions::interpolate(feBasis, dV, dirichletValues, dirichletDofs); - for (size_t i=0; i<x.size(); i++) - if (dirichletDofs[i][0]) - x[i].r = dV[i]; + for (size_t j=0; j<x.size(); j++) + if (dirichletDofs[j][0]) + x[j].r = dV[j]; // ///////////////////////////////////////////////////// // Solve! -- GitLab