diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2014-04-14 09:06:14 -0500 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2014-04-14 09:06:14 -0500 |
commit | 02cf86939178ce0f95b98a4c7b432d4375a872e5 (patch) | |
tree | 2050cb947436114aa3fd7f4edb0d66bbb3109d38 /src/map/if/ifDec16.c | |
parent | 5cd9145046219f25d6d2ba2d746fcd7bb9531ef2 (diff) | |
download | abc-02cf86939178ce0f95b98a4c7b432d4375a872e5.tar.gz abc-02cf86939178ce0f95b98a4c7b432d4375a872e5.tar.bz2 abc-02cf86939178ce0f95b98a4c7b432d4375a872e5.zip |
Changes in the LUT mapper data-structures.
Diffstat (limited to 'src/map/if/ifDec16.c')
-rw-r--r-- | src/map/if/ifDec16.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; |