From 14173fa42aa82e28f310644e3bd8ae96aa25a9bc Mon Sep 17 00:00:00 2001 From: Marco Ratto <marco.ratto@jrc.ec.europa.eu> Date: Tue, 19 Jun 2012 15:33:41 +0200 Subject: [PATCH] This should fix the bug originating random crash of sensitivity test routine (cherry picked from commit 0e1f60b29f91168501a2a9bcd4e06c3a705513b4) --- matlab/gsa/stab_map_2.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matlab/gsa/stab_map_2.m b/matlab/gsa/stab_map_2.m index b4de5b8cb3..594fe91fa8 100644 --- a/matlab/gsa/stab_map_2.m +++ b/matlab/gsa/stab_map_2.m @@ -119,7 +119,7 @@ for j=1:npar, end end - if ~options_.nograph && (j==(npar)) && j2>0, + if ~options_.nograph && (j==(npar)) && j2>0 && (mod(j2,12)~=0), dyn_saveas(hh,[dirname,'/',fig_nam_,int2str(ifig)],options_); if ~options_.nodisplay close(hh); -- GitLab