Skip to content
Snippets Groups Projects
Commit 3469a859 authored by Oliver Sander's avatar Oliver Sander Committed by sander
Browse files

Rename loop variable to fix ambiguity

[[Imported from SVN: r9670]]
parent 8921fdaf
No related branches found
No related tags found
No related merge requests found
......@@ -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!
......
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