From 3166bb5fb514d38e2e92ebc30b840ef7c68ae4c3 Mon Sep 17 00:00:00 2001
From: Michel Juillard <michel.juillard@mjui.fr>
Date: Fri, 2 Dec 2011 11:42:16 +0100
Subject: [PATCH] correcting tests (cherry picked from commit
 a5e36abe5432a5e333baef10bd82e7a52d86959b)

---
 tests/gsa/ls2003.mod                             | 10 +++++-----
 tests/k_order_perturbation/fs2000k2a.mod         |  2 +-
 tests/k_order_perturbation/fs2000k_1_use_dll.mod |  2 +-
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/tests/gsa/ls2003.mod b/tests/gsa/ls2003.mod
index fd46ed043f..de3ac183d7 100644
--- a/tests/gsa/ls2003.mod
+++ b/tests/gsa/ls2003.mod
@@ -161,14 +161,14 @@ disp(' ');
 disp('Press ENTER to continue'); pause(5);
 
 // run this to generate posterior mode and Metropolis files if not yet done
-//estimation(datafile=data_ca1,first_obs=8,nobs=79,mh_nblocks=2,
-//   prefilter=1,mh_jscale=0.5,mh_replic=100000, mode_compute=4, nograph, mh_drop=0.6);
+estimation(datafile=data_ca1,first_obs=8,nobs=79,mh_nblocks=2,
+   prefilter=1,mh_jscale=0.5,mh_replic=100000, mode_compute=4, nograph, mh_drop=0.6);
 
 
 // run this to produce posterior samples of filtered, smoothed and irf variables, if not yet done
-//estimation(datafile=data_ca1,first_obs=8,nobs=79,mh_nblocks=2,prefilter=1,mh_jscale=0.3,
-//          mh_replic=0, mode_file=ls2003_mode, mode_compute=0, nograph, load_mh_file, bayesian_irf,
-//		  filtered_vars, smoother, mh_drop=0.6);
+estimation(datafile=data_ca1,first_obs=8,nobs=79,mh_nblocks=2,prefilter=1,mh_jscale=0.3,
+          mh_replic=0, mode_file=ls2003_mode, mode_compute=0, nograph, load_mh_file, bayesian_irf,
+		  filtered_vars, smoother, mh_drop=0.6);
 
 
 disp(' ');
diff --git a/tests/k_order_perturbation/fs2000k2a.mod b/tests/k_order_perturbation/fs2000k2a.mod
index d98fd1f4bb..de811d2f6c 100644
--- a/tests/k_order_perturbation/fs2000k2a.mod
+++ b/tests/k_order_perturbation/fs2000k2a.mod
@@ -55,6 +55,6 @@ end;
 
 steady;
 
-stoch_simul(order=2);
+stoch_simul(order=2,nograph);
 
 
diff --git a/tests/k_order_perturbation/fs2000k_1_use_dll.mod b/tests/k_order_perturbation/fs2000k_1_use_dll.mod
index 5fcf5b4cd4..9c63d2901c 100644
--- a/tests/k_order_perturbation/fs2000k_1_use_dll.mod
+++ b/tests/k_order_perturbation/fs2000k_1_use_dll.mod
@@ -64,7 +64,7 @@ steady;
 stoch_simul(order=2,k_order_solver,irf=0);
 
 if ~exist('fs2000k2_use_dll_results.mat','file');
-   error('fs2000k2 must be run first');
+   error('fs2000k2_use_dll must be run first');
 end;
 
 oo1 = load('fs2000k2_use_dll_results','oo_');
-- 
GitLab