Commit f0da5700 authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Fix bug and implicit type conversion in diagnostic.

parent b10e142e
......@@ -1262,8 +1262,7 @@ int fileClose_serial(int fileID)
if ( fileptr->time_in_sec > 0 )
{
rout = fileptr->byteTrans;
rout /= 1024.*1014.*fileptr->time_in_sec;
rout = (double)fileptr->byteTrans / (1024.*1024.*fileptr->time_in_sec);
}
fprintf(stderr, " wall time [s] : %.2f\n", fileptr->time_in_sec);
......
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