Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dóra Kocsis
dynare
Commits
7fc92c96
Commit
7fc92c96
authored
Jun 12, 2013
by
Stéphane Adjemian
Browse files
Fixed bug related to the test on the number of input arguments.
parent
a71b770f
Changes
1
Hide whitespace changes
Inline
Side-by-side
mex/sources/mjdgges/mjdgges.c
View file @
7fc92c96
...
...
@@ -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.*/
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment