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
ebcc9d8f
Commit
ebcc9d8f
authored
Sep 28, 2011
by
Sébastien Villemot
Browse files
Fix crash of mjdgges when options_.qz_criterium = []
parent
f9ecc164
Changes
1
Hide whitespace changes
Inline
Side-by-side
mex/sources/mjdgges/mjdgges.c
View file @
ebcc9d8f
...
...
@@ -119,7 +119,7 @@ mexFunction(int nlhs, mxArray *plhs[],
b
=
mxGetPr
(
prhs
[
1
]);
/* set criterium for stable eigenvalues */
if
(
nrhs
==
3
)
if
(
nrhs
==
3
&&
mxGetM
(
prhs
[
2
])
>
0
)
{
criterium
=
*
mxGetPr
(
prhs
[
2
]);
}
...
...
Write
Preview
Markdown
is supported
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