Making 'dsec' return correct return value.

This commit is contained in:
Alan Mishchenko 2019-06-24 11:37:27 +02:00
parent 26ac9ef91a
commit 05322e0446
1 changed files with 1 additions and 1 deletions

View File

@ -3018,7 +3018,7 @@ int Abc_NtkDarSec( Abc_Ntk_t * pNtk1, Abc_Ntk_t * pNtk2, Fra_Sec_t * pSecPar )
// perform verification
RetValue = Fra_FraigSec( pMan, pSecPar, NULL );
Aig_ManStop( pMan );
return RetValue;
return RetValue == -1 ? -1 : !RetValue;
}
/**Function*************************************************************