Browse Source

storm-pars: Make a more explicit warning if a non-parametric equation solver type is selected.

tempestpy_adaptions
Tim Quatmann 4 years ago
parent
commit
251527bccf
  1. 5
      src/storm/solver/LinearEquationSolver.cpp

5
src/storm/solver/LinearEquationSolver.cpp

@ -112,7 +112,12 @@ namespace storm {
// Adjust the solver type if it is not supported by this value type
if (type == EquationSolverType::Gmmxx || type == EquationSolverType::Native) {
if (env.solver().isLinearEquationSolverTypeSetFromDefaultValue()) {
STORM_LOG_INFO("Selecting '" + toString(EquationSolverType::Eigen) + "' as the linear equation solver since the previously selected one (" << toString(type) << ") does not support parametric computations.");
} else {
// Be more verbose if the user set the solver explicitly
STORM_LOG_WARN("The selected linear equation solver (" << toString(type) << ") does not support parametric computations. Falling back to " << toString(EquationSolverType::Eigen) << ".");
}
type = EquationSolverType::Eigen;
}

Loading…
Cancel
Save