mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 20:05:51 +00:00
Remove unnecessary null pointer checks
This commit is contained in:
parent
eae4fd6afd
commit
6e5d0b7594
5 changed files with 8 additions and 14 deletions
|
@ -263,9 +263,7 @@ template <typename T, typename X> void lp_primal_simplex<T, X>::solve_with_total
|
|||
|
||||
|
||||
template <typename T, typename X> lp_primal_simplex<T, X>::~lp_primal_simplex() {
|
||||
if (m_core_solver != nullptr) {
|
||||
delete m_core_solver;
|
||||
}
|
||||
delete m_core_solver;
|
||||
}
|
||||
|
||||
template <typename T, typename X> bool lp_primal_simplex<T, X>::bounds_hold(std::unordered_map<std::string, T> const & solution) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue