3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-07-18 02:16:40 +00:00

Fixed bug in par-or tactic.

Fixes #269.
This commit is contained in:
Christoph M. Wintersteiger 2015-10-28 15:34:30 +00:00
parent 2218f86f03
commit 89b6589a37

View file

@ -573,10 +573,11 @@ public:
try {
t(in_copy, _result, _mc, _pc, _core);
bool successful = is_decided(_result);
bool first = false;
#pragma omp critical (par_tactical)
{
if (finished_id == UINT_MAX) {
if (successful && finished_id == UINT_MAX) {
finished_id = i;
first = true;
}