summaryrefslogtreecommitdiffstats
path: root/src/opt/dau
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2018-08-01 21:41:47 -0800
committerAlan Mishchenko <alanmi@berkeley.edu>2018-08-01 21:41:47 -0800
commit82bfe3a48fe0f0baae2d9ad15ddc45e1a96038f3 (patch)
tree585c7f892c7e1f416accee902a7f7a17b35b2f62 /src/opt/dau
parentaf5a70c076eb8c0787de2ee70acea7c3d5977440 (diff)
downloadabc-82bfe3a48fe0f0baae2d9ad15ddc45e1a96038f3.tar.gz
abc-82bfe3a48fe0f0baae2d9ad15ddc45e1a96038f3.tar.bz2
abc-82bfe3a48fe0f0baae2d9ad15ddc45e1a96038f3.zip
Experiments with function enumeration.
Diffstat (limited to 'src/opt/dau')
-rw-r--r--src/opt/dau/dauNpn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opt/dau/dauNpn.c b/src/opt/dau/dauNpn.c
index 6d9f6435..f5e7cb67 100644
--- a/src/opt/dau/dauNpn.c
+++ b/src/opt/dau/dauNpn.c
@@ -158,7 +158,7 @@ void Dau_AddFunction( word tCur, int nVars, unsigned * pTable, Vec_Int_t * vNpns
unsigned tRep = pTable[t];
unsigned tRep2 = pTable[tRep & tMask];
assert( ((tNorm >> Digit) & 1) == 0 );
- assert( (tRep & tMask) == (tRep2 & tMask) );
+ assert( (tRep & (tMask>>1)) == (tRep2 & (tMask>>1)) );
if ( (tRep2 >> 31) == 0 ) // first time
{
Vec_IntPush( vNpns, tRep2 );