test_ncpflash: no reason to initialize MPI here

This commit is contained in:
Arne Morten Kvarving
2022-12-22 11:22:28 +01:00
parent 6b59969f54
commit b53ea60438

View File

@@ -45,7 +45,6 @@
#include <opm/material/fluidmatrixinteractions/EffToAbsLaw.hpp>
#include <opm/material/fluidmatrixinteractions/MaterialTraits.hpp>
#include <dune/common/parallel/mpihelper.hh>
template <class Scalar, class FluidState>
void checkSame(const FluidState& fsRef, const FluidState& fsFlash)
@@ -310,10 +309,8 @@ inline void testAll()
checkNcpFlash<Scalar, FluidSystem, MaterialLaw>(fsRef, matParams2);
}
int main(int argc, char **argv)
int main()
{
Dune::MPIHelper::instance(argc, argv);
testAll<double>();
testAll<float>();