mirror of https://github.com/YosysHQ/abc.git
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:
parent
d1aa15b0c8
commit
d9b5bf65e8
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue