Commit 94ac537d authored by frey_m's avatar frey_m
Browse files

AMR test case: Need to clear stringstream.

parent 4af965a1
......@@ -320,8 +320,10 @@ int main(int argc, char *argv[]) {
<< std::setfill('0') << std::setw(6) << Ippl::getNodes()
<< "-threads-1.dat";
if ( argc == 8 )
if ( argc == 8 ) {
timefile.str(std::string());
timefile << std::string(argv[7]);
}
IpplTimings::print(timefile.str());
......
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