mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Error when json file is requested for insufficient boost version.
This commit is contained in:
parent
589b70ff26
commit
2c432e09af
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user