Commit aef1f688 authored by Christian Engwer's avatar Christian Engwer

size_type

[[Imported from SVN: r89]]
parent 134d15b5
......@@ -23,7 +23,7 @@ void evolve (const G& grid, const M& mapper, V& c, double t, double& dt)
// allocate a temporary vector for the update
V update(c.size());
for (int i=0; i<c.size(); i++) update[i] = 0;
for (typename V::size_type i=0; i<c.size(); i++) update[i] = 0;
// initialize dt very large
dt = 1E100;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment