Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
dynare
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dynare
dynare
Commits
f45738c0
Verified
Commit
f45738c0
authored
5 years ago
by
Sébastien Villemot
Browse files
Options
Downloads
Patches
Plain Diff
local_state_space_iteration_2 MEX: fix error message
parent
67a49fc6
Branches
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#1468
passed
5 years ago
Stage: build
Stage: test
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
mex/sources/local_state_space_iterations/local_state_space_iteration_2.cc
+3
-1
3 additions, 1 deletion
...l_state_space_iterations/local_state_space_iteration_2.cc
with
3 additions
and
1 deletion
mex/sources/local_state_space_iterations/local_state_space_iteration_2.cc
+
3
−
1
View file @
f45738c0
...
...
@@ -221,13 +221,15 @@ mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])
prhs[8] yhat_ [double] [OPTIONAL] n×s array, time t particles (pruning additional latent variables).
prhs[9] ss [double] [OPTIONAL] m×1 array, steady state for the union of the states and the observed variables (needed for the pruning mode).
prhs[9 or 11] [double] num of threads
plhs[0] y [double] n×s array, time t+1 particles.
plhs[1] y_ [double] n×s array, time t+1 particles for the pruning latent variables.
*/
// Check the number of input and output.
if
(
nrhs
!=
9
&&
nrhs
!=
11
)
mexErrMsgTxt
(
"
Eight or t
en input arguments are required."
);
mexErrMsgTxt
(
"
Nine or elev
en input arguments are required."
);
if
(
nlhs
>
2
)
mexErrMsgTxt
(
"Too many output arguments."
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment