mirror of
https://github.com/Z3Prover/z3
synced 2025-04-05 17:14:07 +00:00
Merge pull request #1117 from levnach/master
fix maybe non initialized warning
This commit is contained in:
commit
475b5c70c8
|
@ -460,6 +460,7 @@ public:
|
|||
break;
|
||||
default:
|
||||
lean_assert(false);
|
||||
new_val_for_leaving = numeric_traits<T>::zero(); // does not matter
|
||||
}
|
||||
return j;
|
||||
}
|
||||
|
|
|
@ -1139,6 +1139,7 @@ lp_primal_core_solver<T, X>::get_infeasibility_cost_for_column(unsigned j) const
|
|||
break;
|
||||
default:
|
||||
lean_assert(false);
|
||||
ret = numeric_traits<T>::zero(); // does not matter
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue