mirror of https://github.com/YosysHQ/abc.git
Modification suggested by David Geiger to fix an obscure memory problem.
This commit is contained in:
parent
e463930709
commit
f87c8b434a
|
|
@ -1291,7 +1291,7 @@ static DdNode * extraBddCountCubes( DdManager * dd, DdNode * L, DdNode * U, st__
|
||||||
if (r)
|
if (r)
|
||||||
{
|
{
|
||||||
int nCubes = 0;
|
int nCubes = 0;
|
||||||
if ( st__lookup( table, (char *)r, (char **)&nCubes ) )
|
if ( st__lookup_int( table, (char *)r, &nCubes ) )
|
||||||
*pnCubes = nCubes;
|
*pnCubes = nCubes;
|
||||||
else assert( 0 );
|
else assert( 0 );
|
||||||
return r;
|
return r;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue