Skip to content

Commit

Permalink
Fix pdr timing output
Browse files Browse the repository at this point in the history
(cherry picked from commit acbe1b1)
  • Loading branch information
jix authored and povik committed Aug 7, 2024
1 parent e62e8ac commit c8d64b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/proof/pdr/pdrCore.c
Original file line number Diff line number Diff line change
Expand Up @@ -1035,7 +1035,7 @@ void Pdr_OutputCexToDir( Pdr_Par_t * pPars, Abc_Cex_t * pCex )
FILE * pCexFile;

iCexPathSize = snprintf( NULL, 0, "%s%d.aiw", pPars->pCexFilePrefix, pCex->iPo ) + 1;
pCexPath = malloc( iCexPathSize );
pCexPath = (char *)malloc( iCexPathSize );
snprintf( pCexPath, iCexPathSize, "%s%d.aiw", pPars->pCexFilePrefix, pCex->iPo );
Abc_Print( 1, "Writing CEX for output %d to %s\n", pCex->iPo, pCexPath );
pCexFile = fopen( pCexPath, "w" );
Expand Down

0 comments on commit c8d64b8

Please sign in to comment.