summaryrefslogtreecommitdiffstats
path: root/src/base
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2012-11-14 12:56:45 -0800
committerAlan Mishchenko <alanmi@berkeley.edu>2012-11-14 12:56:45 -0800
commitaba8ff4ba06c35706b37ecb30d6d358d7c941a7d (patch)
tree5260d389aa930ef4603ed1dd07b565c259e22067 /src/base
parentabefcf8fc8f785f41b4f8b1a4431a079774b725c (diff)
downloadabc-aba8ff4ba06c35706b37ecb30d6d358d7c941a7d.tar.gz
abc-aba8ff4ba06c35706b37ecb30d6d358d7c941a7d.tar.bz2
abc-aba8ff4ba06c35706b37ecb30d6d358d7c941a7d.zip
Modifying parameter limits to allow mapping into 2-LUTs.
Diffstat (limited to 'src/base')
-rw-r--r--src/base/abci/abc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/base/abci/abc.c b/src/base/abci/abc.c
index d0d43382..3fa1a8f7 100644
--- a/src/base/abci/abc.c
+++ b/src/base/abci/abc.c
@@ -3215,7 +3215,7 @@ int Abc_CommandRenode( Abc_Frame_t * pAbc, int argc, char ** argv )
return 1;
}
- if ( nLutSize < 3 || nLutSize > IF_MAX_FUNC_LUTSIZE )
+ if ( nLutSize < 2 || nLutSize > IF_MAX_FUNC_LUTSIZE )
{
Abc_Print( -1, "Incorrect LUT size (%d).\n", nLutSize );
return 1;
@@ -14758,7 +14758,7 @@ int Abc_CommandIf( Abc_Frame_t * pAbc, int argc, char ** argv )
// pPars->fTruth = 1;
}
- if ( pPars->nLutSize < 3 || pPars->nLutSize > IF_MAX_LUTSIZE )
+ if ( pPars->nLutSize < 2 || pPars->nLutSize > IF_MAX_LUTSIZE )
{
Abc_Print( -1, "Incorrect LUT size (%d).\n", pPars->nLutSize );
return 1;
@@ -27030,7 +27030,7 @@ int Abc_CommandAbc9If( Abc_Frame_t * pAbc, int argc, char ** argv )
// pPars->fTruth = 1;
}
- if ( pPars->nLutSize < 3 || pPars->nLutSize > IF_MAX_LUTSIZE )
+ if ( pPars->nLutSize < 2 || pPars->nLutSize > IF_MAX_LUTSIZE )
{
Abc_Print( -1, "Incorrect LUT size (%d).\n", pPars->nLutSize );
return 1;