Skip to content
Snippets Groups Projects
Commit 9a3414f6 authored by Johannes Pfeifer's avatar Johannes Pfeifer Committed by Stéphane Adjemian
Browse files

Add missing deblank to conditional_variance_decomposition_mc_analysis.m which...

Add missing deblank to conditional_variance_decomposition_mc_analysis.m which crashes otherwise if variables have different name length
parent de383a26
No related branches found
No related tags found
No related merge requests found
...@@ -60,8 +60,8 @@ if isempty(exogenous_variable_index) ...@@ -60,8 +60,8 @@ if isempty(exogenous_variable_index)
return return
end end
name_1 = var_list(endogenous_variable_index,:); name_1 = deblank(var_list(endogenous_variable_index,:));
name_2 = exo; name_2 = deblank(exo);
name = [ name_1 '.' name_2 ]; name = [ name_1 '.' name_2 ];
if isfield(oo_, [ TYPE 'TheoreticalMoments' ]) if isfield(oo_, [ TYPE 'TheoreticalMoments' ])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment