mirror of
https://github.com/Z3Prover/z3
synced 2025-04-15 21:38:44 +00:00
improved SLS
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
f8348d0bc4
commit
5b1f83a676
|
@ -141,7 +141,8 @@ lbool pb_rewriter_util<PBU>::normalize(typename PBU::args_t& args, typename PBU:
|
||||||
for (unsigned i = 0; i < args.size(); ++i) {
|
for (unsigned i = 0; i < args.size(); ++i) {
|
||||||
args[i].second = PBU::numeral::one();
|
args[i].second = PBU::numeral::one();
|
||||||
}
|
}
|
||||||
k = PBU::numeral(args.size());
|
typename PBU::numeral num(args.size());
|
||||||
|
k = num;
|
||||||
return l_undef;
|
return l_undef;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -184,7 +185,8 @@ lbool pb_rewriter_util<PBU>::normalize(typename PBU::args_t& args, typename PBU:
|
||||||
for (unsigned i = 0; i < args.size(); ++i) {
|
for (unsigned i = 0; i < args.size(); ++i) {
|
||||||
args[i].second = PBU::numeral::one();
|
args[i].second = PBU::numeral::one();
|
||||||
}
|
}
|
||||||
k = PBU::numeral(args.size());
|
typename PBU::numeral num(args.size());
|
||||||
|
k = num;
|
||||||
}
|
}
|
||||||
|
|
||||||
// apply cutting plane reduction:
|
// apply cutting plane reduction:
|
||||||
|
|
Loading…
Reference in a new issue