Error when json file is requested for insufficient boost version.

This commit is contained in:
Markus Blatt 2020-03-31 12:33:28 +02:00
parent 589b70ff26
commit 2c432e09af

View File

@ -47,6 +47,10 @@ setupPropertyTree(const FlowLinearSolverParameters& p)
}else{
boost::property_tree::read_json(p.linear_solver_configuration_json_file_, prm);
}
#else
OPM_THROW(std::invalid_argument,
"--linear-solver-configuration=file not supported with "
<< "boost version. Needs versoin > 1.48.");
#endif
}
else