Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ log_solver_fallback()

void stan::math::internal::log_solver_fallback ( const bool  allow_fallthrough,
std::ostream *  msgs,
std::string_view  context,
Eigen::Index  iter,
std::string_view  failed_solver,
std::string_view  next_solver,
const std::exception &  e 
)
inline

Log a solver fallback event to the provided stream.

Parameters
[in]allow_fallthroughIf false, throw instead of logging
[in,out]msgsOutput stream (may be nullptr)
[in]contextContext string for the log
[in]iterCurrent iteration number
[in]failed_solverName of the solver that failed
[in]next_solverName of the solver being attempted next
[in]eException that caused the fallback

Definition at line 1008 of file laplace_marginal_density_estimator.hpp.