Fixed bug related to the test on the number of input arguments.
parent
a71b770fec
commit
7fc92c96d9
|
@ -92,8 +92,8 @@ mexFunction(int nlhs, mxArray *plhs[],
|
|||
|
||||
/* Check for proper number of arguments */
|
||||
|
||||
if (nrhs < 2 || nrhs > 3 || nlhs == 0 || nlhs > 7)
|
||||
DYN_MEX_FUNC_ERR_MSG_TXT("MJDGGES: takes 2 or 3 input arguments and between 1 and 7 output arguments.");
|
||||
if (nrhs < 2 || nrhs > 4 || nlhs == 0 || nlhs > 7)
|
||||
DYN_MEX_FUNC_ERR_MSG_TXT("MJDGGES: takes 2, 3 or 4 input arguments and between 1 and 7 output arguments.");
|
||||
|
||||
/* Check that A and B are real matrices of the same dimension.*/
|
||||
|
||||
|
|
Loading…
Reference in New Issue