From 1f4ea5aaa5c9db9a81e26a6ab6424c28c89ff1c5 Mon Sep 17 00:00:00 2001
From: Marco Ratto <marco.ratto@jrc.ec.europa.eu>
Date: Tue, 23 Aug 2011 23:20:48 +0200
Subject: [PATCH] Small bug fixes: thanks to Jesper Linde and Malin Adolfson

---
 matlab/gsa/stab_map_1.m      | 2 +-
 matlab/plot_identification.m | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/matlab/gsa/stab_map_1.m b/matlab/gsa/stab_map_1.m
index 561ad2da2..bd34538ff 100644
--- a/matlab/gsa/stab_map_1.m
+++ b/matlab/gsa/stab_map_1.m
@@ -53,7 +53,7 @@ ishock= npar>estim_params_.np;
 if nargin<6,
   ipar=[];
 end
-if nargin<8 || isempty(dcrit),
+if nargin<8 || isempty(pcrit),
   pcrit=1;
 end
 
diff --git a/matlab/plot_identification.m b/matlab/plot_identification.m
index d3f370dd5..45d1e1c9f 100644
--- a/matlab/plot_identification.m
+++ b/matlab/plot_identification.m
@@ -53,6 +53,7 @@ siLREnorm = idelre.siLREnorm;
 %     tittxt = '';
 % end
 tittxt1=regexprep(tittxt, ' ', '_');
+tittxt1=strrep(tittxt1, '.', '');
 if SampleSize == 1,
     siJ = idemoments.siJ;
     normJ = max(abs(siJ)')';
-- 
GitLab