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

◆ throw_solver_failure()

void stan::math::internal::throw_solver_failure ( std::string_view  context,
Eigen::Index  iter,
std::string_view  failed_solver,
const std::exception &  e 
)
inline

Throw for a solver failure when falling through to the next solver is not allowed.

Parameters
[in]contextContext string for the message
[in]iterCurrent iteration number
[in]failed_solverName of the solver that failed
[in]eException that caused the failure

Definition at line 1051 of file laplace_marginal_density_estimator.hpp.