Correctly set watch2 on rule watch nodes for learned rules fixes #2181
parent
c6aa97ed8a
commit
8369624c49
|
@ -64,7 +64,7 @@ class RuleWatchNode
|
||||||
$level = $decisions->decisionLevel($literal);
|
$level = $decisions->decisionLevel($literal);
|
||||||
|
|
||||||
if ($level > $watchLevel) {
|
if ($level > $watchLevel) {
|
||||||
$this->rule->watch2 = $literal;
|
$this->watch2 = $literal;
|
||||||
$watchLevel = $level;
|
$watchLevel = $level;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue