mirror of
https://github.com/Z3Prover/z3
synced 2025-07-23 04:38:53 +00:00
get rid of int*, use lambda scoping
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
7a74b099ba
commit
615aad7779
5 changed files with 55 additions and 56 deletions
|
@ -311,7 +311,7 @@ class lar_solver : public column_namer {
|
|||
|
||||
template <typename T>
|
||||
void explain_implied_bound(const implied_bound& ib, lp_bound_propagator<T>& bp) {
|
||||
u_dependency* dep = ib.explain_implied((int*)&bp);
|
||||
u_dependency* dep = ib.explain_implied();
|
||||
for (auto ci : flatten(dep))
|
||||
bp.consume(mpq(1), ci); // TODO: flatten should provide the coefficients
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue