glucose2: Don't try to justify toplevel assignments

Doing so isn't necessary and would occasionally result in violated
assertions within glucose2.
This commit is contained in:
Jannis Harder 2024-09-07 13:16:20 +02:00
parent d1aa15b0c8
commit d9b5bf65e8
1 changed files with 1 additions and 0 deletions

View File

@ -94,6 +94,7 @@ inline Lit Solver::pickJustLit( int& index ){
for( ; jhead < trail.size() ; jhead++ ){
Var x = var(trail[jhead]);
if( !decisionLevel() && !isRoundWatch(x) ) continue;
if( level(x) == 0 ) continue;
if( isJReason(x) && l_Undef == value( getFaninVar0(x) ) && l_Undef == value( getFaninVar1(x) ) )
pushJustQueue(x,jhead);
}