From 8612c7258b82ae75798b11301080bfc86bcc18d8 Mon Sep 17 00:00:00 2001
From: Marco Ratto <marco.ratto@jrc.ec.europa.eu>
Date: Fri, 4 Nov 2011 09:23:10 +0100
Subject: [PATCH] Re-introduced a small selection of variables to save.

---
 matlab/mr_gstep.m   | 2 ++
 matlab/mr_hessian.m | 1 +
 2 files changed, 3 insertions(+)

diff --git a/matlab/mr_gstep.m b/matlab/mr_gstep.m
index 73f187664..78e27d549 100644
--- a/matlab/mr_gstep.m
+++ b/matlab/mr_gstep.m
@@ -62,7 +62,9 @@ while i<n
         end
         xh1=x;
     end
+    save gstep.mat x h1 f0
 end
 
+save gstep.mat x h1 f0
 
 
diff --git a/matlab/mr_hessian.m b/matlab/mr_hessian.m
index 208b52264..99149969f 100644
--- a/matlab/mr_hessian.m
+++ b/matlab/mr_hessian.m
@@ -233,3 +233,4 @@ if any(isnan(hessian_mat))
 end
 hh1=h1;
 htol1=htol;
+save hess.mat hessian_mat
\ No newline at end of file
-- 
GitLab