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() ...@@ -66,9 +66,7 @@ IPOPTSolverLean::IPOPTSolverLean()
impl_->app_->Options()->SetStringValue("linear_solver", "mumps"); impl_->app_->Options()->SetStringValue("linear_solver", "mumps");
#endif #endif
#ifdef DEB_ON DEB_only(if (Debug::Config::query().console_print == nullptr))
if (!Debug::Config::query().console())
#endif
{// Block any output on cout and cerr from Ipopt. {// Block any output on cout and cerr from Ipopt.
impl_->app_->Options()->SetStringValue("suppress_all_output", "yes"); 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