From 9db49a42ac178967a51dfd5910c5edbbf90effbf Mon Sep 17 00:00:00 2001 From: akva Date: Thu, 7 Aug 2014 08:45:31 +0000 Subject: [PATCH] changed: reorder the parameters in ConfigureSIM allows configuring with default parameters git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2880 e10b68d5-8a6e-419e-a041-bce267b0401d --- Apps/Common/SIMSolver.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Apps/Common/SIMSolver.h b/Apps/Common/SIMSolver.h index c466ea51..767deb33 100644 --- a/Apps/Common/SIMSolver.h +++ b/Apps/Common/SIMSolver.h @@ -35,7 +35,7 @@ struct SolverConfigurator { //! \brief Configuration template template -int ConfigureSIM(T& t, const typename T::SetupProps& p, char* infile) +int ConfigureSIM(T& t, char* infile, const typename T::SetupProps& p=typename T::SetupProps()) { SolverConfigurator setup; return setup.setup(t, p, infile);