MATLAB compatibility fix: skip identification/kim/kim2.mod test under R2009b

MATLAB crashes, most likely due to an internal bug.
time-shift
Sébastien Villemot 2020-01-14 11:43:51 +01:00
parent 7c2338034f
commit c5f50a34e2
No known key found for this signature in database
GPG Key ID: 2CECE9350ECEBE4A
1 changed files with 7 additions and 0 deletions

View File

@ -60,6 +60,11 @@ dumpy ,uniform_pdf, , ,0,10;
end;
varobs c i;
/* Skip test under MATLAB R2009b
MATLAB crashes, most likely due to an internal bug */
if isoctave || ~matlab_ver_less_than('7.10')
identification(advanced=1,max_dim_cova_group=3);
//varobs c i lam; //to check if observing lam identifies phi and theta
//identification(ar=1,advanced=1,max_dim_cova_group=3,prior_mc=250);
@ -68,3 +73,5 @@ identification(advanced=1,max_dim_cova_group=3);
estim_params_=[];
identification(advanced=1,max_dim_cova_group=3);
end