summaryrefslogtreecommitdiffstats
path: root/src/base/abci
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2018-09-07 19:40:38 +0300
committerAlan Mishchenko <alanmi@berkeley.edu>2018-09-07 19:40:38 +0300
commit8638b13e72bddb031ae1c7954653d30479e06c1f (patch)
tree87305c940da53380830774f12f3210c8d990fbee /src/base/abci
parent197c65be0b8275deb1508b7bde08fce2216d5064 (diff)
downloadabc-8638b13e72bddb031ae1c7954653d30479e06c1f.tar.gz
abc-8638b13e72bddb031ae1c7954653d30479e06c1f.tar.bz2
abc-8638b13e72bddb031ae1c7954653d30479e06c1f.zip
Expriments with functions (bug fixes).
Diffstat (limited to 'src/base/abci')
-rw-r--r--src/base/abci/abc.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/base/abci/abc.c b/src/base/abci/abc.c
index 67d361ac..95aef8ad 100644
--- a/src/base/abci/abc.c
+++ b/src/base/abci/abc.c
@@ -23027,6 +23027,17 @@ int Abc_CommandFunEnum( Abc_Frame_t * pAbc, int argc, char ** argv )
goto usage;
}
}
+ if ( nVars < 2 || nVars > 6 )
+ {
+ Abc_Print( -1, "The number of inputs should be 2 <= N <= 6.\n" );
+ goto usage;
+ }
+ if ( nInputs < nVars || nInputs > 6 )
+ {
+ Abc_Print( -1, "The intermediate support size should be N <= S <= 6.\n" );
+ goto usage;
+ }
+
Dau_FunctionEnum( nInputs, nVars, fVerbose );
return 0;