Commit cebd404c by Christophe Geuzaine

fix omp

parent 3ed270bc
Pipeline #185 passed with stage
in 9 minutes 55 seconds
......@@ -773,10 +773,6 @@ void Msg::ProgressMeter(int n, int N, bool log, const char *fmt, ...)
(n > N - 1) ? "" : str2);
fflush(stdout);
}
#if defined(_OPENMP)
#pragma omp critical
#endif
}
}
......@@ -1601,4 +1597,4 @@ void MsgProgressStatus::next()
Msg::ProgressMeter(currentI_-1, totalElementToTreat_, true, "%d%% (remaining time ~%g hours)",
currentPercentage, remaining/3600);
}
}
\ No newline at end of file
}
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 sign in to comment