From 02cf86939178ce0f95b98a4c7b432d4375a872e5 Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Mon, 14 Apr 2014 09:06:14 -0500 Subject: Changes in the LUT mapper data-structures. --- src/map/if/ifDec16.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/map/if/ifDec16.c') diff --git a/src/map/if/ifDec16.c b/src/map/if/ifDec16.c index 21346ffb..22de91ba 100644 --- a/src/map/if/ifDec16.c +++ b/src/map/if/ifDec16.c @@ -2141,10 +2141,11 @@ float If_CutDelayLutStruct( If_Man_t * p, If_Cut_t * pCut, char * pStr, float Wi // consider easy case if ( nLeaves <= Abc_MaxInt( nLutLeaf, nLutRoot ) ) { + char * pPerm = If_CutPerm( pCut ); assert( nLeaves <= 6 ); for ( i = 0; i < nLeaves; i++ ) { - pCut->pPerm[i] = 1; + pPerm[i] = 1; G1.pVars[i] = i; } G1.nVars = nLeaves; -- cgit v1.2.3