Updating warning condition for DAGMC threads and some comment corrections.

This commit is contained in:
Patrick Shriwise 2018-10-04 14:43:59 -05:00
parent e952b2c6cb
commit 10fdebdd7a
2 changed files with 3 additions and 3 deletions

View file

@ -409,7 +409,7 @@ void read_settings_xml()
}
#ifdef _OPENMP
if (dagmc) {
if (dagmc && omp_get_max_threads() > 1) {
warning("Forcing number of threads to 1 for DAGMC simulation.");
omp_set_num_threads(1);
}