Corner-case bug-fix in retiming (undoing wrong fix).

This commit is contained in:
Alan Mishchenko 2020-03-06 13:59:05 -08:00
parent cca7e038f2
commit 1a41d496df
1 changed files with 2 additions and 2 deletions

View File

@ -370,7 +370,7 @@ static inline int Wln_RetCheckForwardOne( Wln_Ret_t * p, int iObj )
else if ( Class != Vec_IntEntry( &p->vFfClasses, iFlop ) )
return 0;
}
return Class == -1 ? 0 : 1;
return 1;
}
int Wln_RetCheckForward( Wln_Ret_t * p, Vec_Int_t * vSet )
{
@ -398,7 +398,7 @@ static inline int Wln_RetCheckBackwardOne( Wln_Ret_t * p, int iObj )
else if ( Class != Vec_IntEntry( &p->vFfClasses, iFlop ) )
return 0;
}
return Class == -1 ? 0 : 1;
return 1;
}
int Wln_RetCheckBackward( Wln_Ret_t * p, Vec_Int_t * vSet )
{