Commit c3837b95 by Alan Mishchenko

Several suggested bug-fixes.

parent 4256ad0a
...@@ -650,7 +650,7 @@ int Gia_FormStrCount( char * pStr, int * pnVars, int * pnPars ) ...@@ -650,7 +650,7 @@ int Gia_FormStrCount( char * pStr, int * pnVars, int * pnPars )
if ( *pnVars != FFTEST_MAX_VARS ) if ( *pnVars != FFTEST_MAX_VARS )
{ printf( "The number of input variables (%d) should be 2\n", *pnVars ); return 1; } { printf( "The number of input variables (%d) should be 2\n", *pnVars ); return 1; }
if ( *pnPars < 1 || *pnPars > FFTEST_MAX_PARS ) if ( *pnPars < 1 || *pnPars > FFTEST_MAX_PARS )
{ printf( "The number of parameters should be between 1 and %d\n", *pnPars ); return 1; } { printf( "The number of parameters should be between 1 and %d\n", FFTEST_MAX_PARS ); return 1; }
return 0; return 0;
} }
void Gia_FormStrTransform( char * pStr, char * pForm ) void Gia_FormStrTransform( char * pStr, char * pForm )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment