3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-06-19 15:16:29 +00:00

add an assert

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
Lev Nachmanson 2026-06-19 07:51:19 -07:00
parent c37ab9b6a3
commit 6e5639f79d

View file

@ -47,8 +47,7 @@ void lp::lp_settings::updt_params(params_ref const& _p) {
m_lcube = lp_p.lcube();
m_lcube_flips = lp_p.lcube_flips();
unsigned hammer_period = lp_p.int_hammer_period();
if (hammer_period == 0)
hammer_period = 1;
SASSERT(hammer_period != 0);
m_int_find_cube_period = hammer_period;
m_int_gomory_cut_period = hammer_period;
m_hnf_cut_period = hammer_period;