From cba00755b1850ff974055d191f369844e2b6a806 Mon Sep 17 00:00:00 2001 From: Johannes Pfeifer Date: Tue, 31 Aug 2021 11:13:37 +0200 Subject: [PATCH] stab_map_2.m: Only do skipline if actual printing happens --- matlab/gsa/stab_map_2.m | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/matlab/gsa/stab_map_2.m b/matlab/gsa/stab_map_2.m index 56dcfe14f..4b32beef4 100644 --- a/matlab/gsa/stab_map_2.m +++ b/matlab/gsa/stab_map_2.m @@ -67,7 +67,6 @@ if ishock==0 else npar=estim_params_.np+nshock; end -skipline(); title_string=['Correlation analysis for ',fnam]; title_string_tex=['Correlation analysis for ',strrep(fnam,'_','\\_')]; @@ -181,9 +180,13 @@ for j=1:npar end if j2==0 + skipline(); disp(['No correlation term with pvalue <', num2str(pvalue_crit),' and |corr. coef.| >',num2str(alpha2),' found for ',fnam]) else headers={'Parameters'; 'corrcoef'}; + if ~options_.noprint + skipline(); + end dyntable(options_,title_string,headers, name, data_mat, 0, 7, 3); if options_.TeX dyn_latex_table(M_, options_, title_string_tex, fig_nam_tex_table, headers, name_tex, data_mat, 0, 7, 3);