Skip to content
Snippets Groups Projects
Commit 1f2e2cac authored by Christoph Lehmann's avatar Christoph Lehmann Committed by Dmitri Naumov
Browse files

[T] added error message

parent 4a088c44
No related branches found
No related tags found
No related merge requests found
...@@ -68,7 +68,13 @@ std::unique_ptr<MathLib::ODESolver<NumEquations>> make_ode_solver( ...@@ -68,7 +68,13 @@ std::unique_ptr<MathLib::ODESolver<NumEquations>> make_ode_solver(
{ {
// Make sure testrunner does not crash if we haven't built with support for // Make sure testrunner does not crash if we haven't built with support for
// any external ODE solver lib. // any external ODE solver lib.
if (!any_ode_solver_libs_available()) return nullptr; if (!any_ode_solver_libs_available())
{
ERR(
"I cannot create any ODE solver. This test therefore might be "
"skipped.");
return nullptr;
}
BaseLib::ConfigTree config(conf, "", BaseLib::ConfigTree::onerror, BaseLib::ConfigTree config(conf, "", BaseLib::ConfigTree::onerror,
BaseLib::ConfigTree::onwarning); BaseLib::ConfigTree::onwarning);
......
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