Skip to content

Commit 2dbf2eb

Browse files
committed
Fixing bug
1 parent 5f27b32 commit 2dbf2eb

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/intree.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ bool InTree::intree_probe() {
150150
}
151151
solver->use_depth_trick = true;
152152
solver->perform_transitive_reduction = true;
153-
return true;
153+
return solver->okay();
154154
}
155155

156156
double my_time = cpuTime();

src/searcher.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2418,6 +2418,7 @@ bool Searcher::intree_if_needed()
24182418
sumConflicts > next_intree
24192419
) {
24202420
if (ret) ret &= solver->intree->intree_probe();
2421+
if (ret) rebuildOrderHeap(); // Needed because intree may have replaced variables
24212422
next_intree = sumConflicts + 65000.0*conf.global_next_multiplier;
24222423
}
24232424

0 commit comments

Comments
 (0)