From 2dd940dc1ae69417ac2951faaa8f973da0775bc5 Mon Sep 17 00:00:00 2001
From: Johannes Pfeifer <jpfeifer@gmx.de>
Date: Mon, 4 Jun 2018 11:56:43 +0200
Subject: [PATCH] datatomfile: Consistently replace char by cell arrays

Required after https://github.com/DynareTeam/dynare/commit/7be8f10e0e035e503c391979ae41415ffaf64e0a
---
 tests/estimation/fs2000_stochastic_singularity_xfail.mod      | 2 +-
 tests/filter_step_ahead/fs2000_filter_step_ahead_ML.mod       | 2 +-
 tests/filter_step_ahead/fs2000_filter_step_ahead_bayesian.mod | 2 +-
 tests/fs2000/fs2000_missing_data.mod                          | 2 +-
 tests/fs2000/fs2000a.mod                                      | 2 +-
 tests/kalman_filter_smoother/fs2000_smoother_only.mod         | 2 +-
 tests/kalman_filter_smoother/fs2000_smoother_only_ns.mod      | 2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/tests/estimation/fs2000_stochastic_singularity_xfail.mod b/tests/estimation/fs2000_stochastic_singularity_xfail.mod
index cdd977d07..a84cc0ce1 100644
--- a/tests/estimation/fs2000_stochastic_singularity_xfail.mod
+++ b/tests/estimation/fs2000_stochastic_singularity_xfail.mod
@@ -64,7 +64,7 @@ var e_junk; stderr 0.005;
 end;
 
 stoch_simul(order=1,periods=300,irf=0,nomoments) k y c;
-datatomfile('fsdat_simul_collinear', char('k','y','c'));
+datatomfile('fsdat_simul_collinear', {'k'; 'y'; 'c'});
 
 estimated_params;
 alp, beta_pdf, 0.356, 0.02;
diff --git a/tests/filter_step_ahead/fs2000_filter_step_ahead_ML.mod b/tests/filter_step_ahead/fs2000_filter_step_ahead_ML.mod
index 9de6f5299..a7ddcecbb 100644
--- a/tests/filter_step_ahead/fs2000_filter_step_ahead_ML.mod
+++ b/tests/filter_step_ahead/fs2000_filter_step_ahead_ML.mod
@@ -118,4 +118,4 @@ estimation(order=1, datafile='../fs2000/fsdat_simul', nobs=192, loglinear, filte
  */
 
 //stoch_simul(periods=200, order=1);
-//datatomfile('fsdat_simul', char('gy_obs', 'gp_obs'));
+//datatomfile('fsdat_simul', {gy_obs'; 'gp_obs'});
diff --git a/tests/filter_step_ahead/fs2000_filter_step_ahead_bayesian.mod b/tests/filter_step_ahead/fs2000_filter_step_ahead_bayesian.mod
index 9e1815ada..e977f10e1 100644
--- a/tests/filter_step_ahead/fs2000_filter_step_ahead_bayesian.mod
+++ b/tests/filter_step_ahead/fs2000_filter_step_ahead_bayesian.mod
@@ -124,4 +124,4 @@ estimation(order=1, datafile='../fs2000/fsdat_simul', nobs=192, loglinear, mh_re
  */
 
 //stoch_simul(periods=200, order=1);
-//datatomfile('fsdat_simul', char('gy_obs', 'gp_obs'));
+//datatomfile('fsdat_simul', {'gy_obs'; 'gp_obs'});
diff --git a/tests/fs2000/fs2000_missing_data.mod b/tests/fs2000/fs2000_missing_data.mod
index 2ef89c2b8..3a0a77d4f 100644
--- a/tests/fs2000/fs2000_missing_data.mod
+++ b/tests/fs2000/fs2000_missing_data.mod
@@ -90,4 +90,4 @@ estimation(order=1, datafile=fsdat_simul_missing_obs, nobs=192, loglinear, mh_re
  */
 
 //stoch_simul(periods=200, order=1);
-//datatomfile('fsdat_simul', char('gy_obs', 'gp_obs'));
+//datatomfile('fsdat_simul', {'gy_obs'; 'gp_obs'});
diff --git a/tests/fs2000/fs2000a.mod b/tests/fs2000/fs2000a.mod
index 210417e4f..bc9d31b3f 100644
--- a/tests/fs2000/fs2000a.mod
+++ b/tests/fs2000/fs2000a.mod
@@ -92,4 +92,4 @@ estimation(order=1,datafile=fsdat_simul,nobs=192,loglinear,mh_replic=2000,
            mode_compute=4,mh_nblocks=2,mh_drop=0.45,mh_jscale=0.65,diffuse_filter);
 
 //stoch_simul(order=1, periods=200);
-//datatomfile('fsdat_simul2', char('gy_obs', 'gp_obs', 'Y_obs', 'P_obs'));
+//datatomfile('fsdat_simul2', {'gy_obs'; 'gp_obs'; 'Y_obs'; 'P_obs'});
diff --git a/tests/kalman_filter_smoother/fs2000_smoother_only.mod b/tests/kalman_filter_smoother/fs2000_smoother_only.mod
index b24c8b94b..70e4f6bc4 100644
--- a/tests/kalman_filter_smoother/fs2000_smoother_only.mod
+++ b/tests/kalman_filter_smoother/fs2000_smoother_only.mod
@@ -113,4 +113,4 @@ estimation(order=1, datafile=fsdat_simul, mode_compute=0,nobs=192, loglinear, sm
  */
 
 //stoch_simul(periods=200, order=1);
-//datatomfile('fsdat_simul', char('gy_obs', 'gp_obs'));
+//datatomfile('fsdat_simul', {'gy_obs'; 'gp_obs'});
diff --git a/tests/kalman_filter_smoother/fs2000_smoother_only_ns.mod b/tests/kalman_filter_smoother/fs2000_smoother_only_ns.mod
index 557486b79..29fb1d923 100644
--- a/tests/kalman_filter_smoother/fs2000_smoother_only_ns.mod
+++ b/tests/kalman_filter_smoother/fs2000_smoother_only_ns.mod
@@ -118,4 +118,4 @@ estimation(order=1, datafile=fsdat_simul, mode_compute=0,nobs=192, loglinear,dif
  */
 
 //stoch_simul(periods=200, order=1);
-//datatomfile('fsdat_simul', char('gy_obs', 'gp_obs'));
+//datatomfile('fsdat_simul', {'gy_obs'; 'gp_obs'});
-- 
GitLab