mirror of
https://github.com/Z3Prover/z3
synced 2025-04-08 10:25:18 +00:00
use random_next instead of library random
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
c499bd4116
commit
90b78eb64a
|
@ -492,7 +492,7 @@ bool lar_solver::move_non_basic_column_to_bounds(unsigned j) {
|
|||
switch (lcs.m_column_types()[j]) {
|
||||
case column_type::boxed:
|
||||
if (val != lcs.m_r_lower_bounds()[j] && val != lcs.m_r_upper_bounds()[j]) {
|
||||
if (random() % 2 == 0)
|
||||
if (m_settings.random_next() % 2 == 0)
|
||||
set_value_for_nbasic_column(j, lcs.m_r_lower_bounds()[j]);
|
||||
else
|
||||
set_value_for_nbasic_column(j, lcs.m_r_upper_bounds()[j]);
|
||||
|
|
Loading…
Reference in a new issue