Commit 27f5b51a authored by Martin Marinov's avatar Martin Marinov

Fix a reference broken by the new Debug::Config interface

parent 0934fc2a
......@@ -66,9 +66,7 @@ IPOPTSolverLean::IPOPTSolverLean()
impl_->app_->Options()->SetStringValue("linear_solver", "mumps");
#ifdef DEB_ON
if (!Debug::Config::query().console())
DEB_only(if (Debug::Config::query().console_print == nullptr))
{// Block any output on cout and cerr from Ipopt.
impl_->app_->Options()->SetStringValue("suppress_all_output", "yes");
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment