Commit f87c8b43 by Alan Mishchenko

Modification suggested by David Geiger to fix an obscure memory problem.

parent e4639307
...@@ -1291,7 +1291,7 @@ static DdNode * extraBddCountCubes( DdManager * dd, DdNode * L, DdNode * U, st__ ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment