From c5f50a34e2b144a9339a5e6b160345bdc37572df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= Date: Tue, 14 Jan 2020 11:43:51 +0100 Subject: [PATCH] MATLAB compatibility fix: skip identification/kim/kim2.mod test under R2009b MATLAB crashes, most likely due to an internal bug. --- tests/identification/kim/kim2.mod | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/identification/kim/kim2.mod b/tests/identification/kim/kim2.mod index 172a8fa3f..a7992a358 100644 --- a/tests/identification/kim/kim2.mod +++ b/tests/identification/kim/kim2.mod @@ -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