From 13134e0c80196ed66c605de1be4b248632162143 Mon Sep 17 00:00:00 2001
From: Johannes Pfeifer <jpfeifer@gmx.de>
Date: Sun, 7 Jun 2015 15:53:34 +0200
Subject: [PATCH] Make check_list_of_variables.m reflect that varobs is now a
 cell array.

---
 matlab/check_list_of_variables.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/matlab/check_list_of_variables.m b/matlab/check_list_of_variables.m
index 30805becb3..e9fb3be3b0 100644
--- a/matlab/check_list_of_variables.m
+++ b/matlab/check_list_of_variables.m
@@ -65,7 +65,7 @@ elseif isempty(varlist) && ~isempty(options_.endo_vars_for_moment_computations_i
     if strcmp(options_.endo_vars_for_moment_computations_in_estimation,'all_endogenous_variables')
         varlist = M_.endo_names(1:M_.orig_endo_nbr, :);    
     elseif strcmp(options_.endo_vars_for_moment_computations_in_estimation,'only_observed_variables')
-        varlist = options_.varobs;
+        varlist = char(options_.varobs');
     else
         error('Unknown option')
     end
-- 
GitLab