Swapping MPI and thread args.

This commit is contained in:
Patrick Shriwise 2020-04-30 11:18:33 -05:00
parent 03f3d7ac73
commit 9a82c2f76c

View file

@ -71,7 +71,7 @@ int openmc_init(int argc, char* argv[], const void* intracomm)
if (!settings::LMI && !libMesh::initialized())
{
#ifdef OPENMC_MPI
settings::LMI = std::make_unique<libMesh::LibMeshInit>(argc, argv, n_threads, comm);
settings::LMI = std::make_unique<libMesh::LibMeshInit>(argc, argv, comm, n_threads);
#else
settings::LMI = std::make_unique<libMesh::LibMeshInit>(argc, argv, n_threads);
#endif