Changing default values.

This commit is contained in:
Alan Mishchenko 2013-09-30 13:39:14 -07:00
parent 846da1d2c7
commit cb845d4488
1 changed files with 8 additions and 7 deletions

View File

@ -412,13 +412,14 @@ void Fx_ManComputeLevel( Fx_Man_t * p )
p->vLevels = Vec_IntStart( p->nVars );
Vec_WecForEachLevel( p->vCubes, vCube, i )
{
Vec_IntUpdateEntry( p->vLevels, Vec_IntEntry(vCube, 0), Fx_ManComputeLevelCube(p, vCube) );
if ( iVar == Vec_IntEntry(vCube, 0) )
continue;
// add the number of cubes
Vec_IntAddToEntry( p->vLevels, iVar, i - iFirst );
iVar = Vec_IntEntry(vCube, 0);
iFirst = i;
if ( iVar != Vec_IntEntry(vCube, 0) )
{
// add the number of cubes
Vec_IntAddToEntry( p->vLevels, iVar, i - iFirst );
iVar = Vec_IntEntry(vCube, 0);
iFirst = i;
}
Vec_IntUpdateEntry( p->vLevels, iVar, Fx_ManComputeLevelCube(p, vCube) );
}
}