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

[Build] Fix compilation on gcc 4.9.2

parent ebb190f9
No related branches found
No related tags found
No related merge requests found
......@@ -83,7 +83,12 @@ FixedPointIterator<Factory, Updaters, ErrorNorm>::run(
updaters.rate_->postProcess(velocityIterate);
return { fixedPointIteration, multigridIterations };
// Cannot use return { fixedPointIteration, multigridIterations };
// with gcc 4.9.2, see also http://stackoverflow.com/a/37777814/179927
FixedPointIterationCounter ret;
ret.iterations = fixedPointIteration;
ret.multigridIterations = multigridIterations;
return ret;
}
std::ostream &operator<<(std::ostream &stream,
......
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