Extending the default GIA writing buffer.

This commit is contained in:
Alan Mishchenko 2012-10-09 09:00:25 -07:00
parent dd25b90f8e
commit 7b9f4a278d
1 changed files with 1 additions and 1 deletions

View File

@ -1441,7 +1441,7 @@ void Gia_WriteAiger( Gia_Man_t * pInit, char * pFileName, int fWriteSymbols, int
// write the nodes into the buffer
Pos = 0;
nBufferSize = 6 * Gia_ManAndNum(p) + 100; // skeptically assuming 3 chars per one AIG edge
nBufferSize = 8 * Gia_ManAndNum(p) + 100; // skeptically assuming 3 chars per one AIG edge
pBuffer = ABC_ALLOC( unsigned char, nBufferSize );
Gia_ManForEachAnd( p, pObj, i )
{