Skip to content
Snippets Groups Projects
Commit 9dbedb0d authored by Robert Klöfkorn's avatar Robert Klöfkorn
Browse files

adapted to changes of FieldVector mostly operator () to operator [].

[[Imported from SVN: r899]]
parent 58d08dfa
No related branches found
No related tags found
No related merge requests found
......@@ -470,14 +470,14 @@ namespace Dune
if(eval)
{
for(int l=0; l<dimrange; l++)
ret(l) += (* (values_[i])) * tmp_(l);
ret[l] += (* (values_[i])) * tmp_[l];
}
}
}
else
{
for(int l=0; l<dimrange; l++)
ret(l) = (* (values_[ l ]));
ret[l] = (* (values_[ l ]));
}
}
......@@ -496,14 +496,14 @@ namespace Dune
if(eval)
{
for(int l=0; l<dimrange; l++)
ret(l) += (* (values_[i])) * tmp_(l);
ret[l] += (* (values_[i])) * tmp_[l];
}
}
}
else
{
for(int l=0; l<dimrange; l++)
ret(l) = (* (values_[ l ]));
ret[l] = (* (values_[ l ]));
}
}
......@@ -526,7 +526,7 @@ namespace Dune
tmpGrad_(0) *= (* (values_[i]));
ret(0) += tmpGrad_(0);
ret[0] += tmpGrad_(0);
}
}
else
......
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