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

[Cleanup] Use C++11

parent d491f818
No related branches found
No related tags found
No related merge requests found
......@@ -391,8 +391,8 @@ int main(int argc, char *argv[]) {
// condition match up at t=0
double v_initial_const;
velocityDirichletFunction.evaluate(0.0, v_initial_const);
for (size_t i = 0; i < v_initial.size(); ++i)
v_initial[i][0] = v_initial_const;
for (auto &x : v_initial)
x[0] = v_initial_const;
}
VectorType a_initial(finestSize);
a_initial = 0.0;
......
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