From f45738c09e3c948fc2c3d6542a9e5b93695f9421 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= Date: Fri, 28 Jun 2019 17:48:39 +0200 Subject: [PATCH] local_state_space_iteration_2 MEX: fix error message --- .../local_state_space_iteration_2.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mex/sources/local_state_space_iterations/local_state_space_iteration_2.cc b/mex/sources/local_state_space_iterations/local_state_space_iteration_2.cc index e17831ef6..48672df84 100644 --- a/mex/sources/local_state_space_iterations/local_state_space_iteration_2.cc +++ b/mex/sources/local_state_space_iterations/local_state_space_iteration_2.cc @@ -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 ten input arguments are required."); + mexErrMsgTxt("Nine or eleven input arguments are required."); if (nlhs > 2) mexErrMsgTxt("Too many output arguments.");