Skip to content
Snippets Groups Projects
Commit 5d0b2baf authored by Markus Blatt's avatar Markus Blatt
Browse files

Allow mpi to change the parameters

[[Imported from SVN: r4601]]
parent c83ef38e
No related branches found
No related tags found
No related merge requests found
......@@ -150,7 +150,7 @@ namespace Dune
return MPI_COMM_WORLD;
}
static MPIHelper& instance(int argc, char** argv)
static MPIHelper& instance(int& argc, char**& argv)
{
if(instance_.get() == 0)
instance_.set(new MPIHelper(argc, argv));
......@@ -158,7 +158,7 @@ namespace Dune
}
private:
MPIHelper(int argc, char** argv)
MPIHelper(int& argc, char**& argv)
{
MPI_Init(&argc, &argv);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment