Skip to main content

try_current_solver_family

Function try_current_solver_family 

Source
pub fn try_current_solver_family() -> Option<SolverFamily>
Expand description

The active solver family, or None if this thread has not set one.

Unlike current_solver_family this does not panic. Solver-family gating asks with this so that unit tests exercising a single component do not have to stand up a solver context.