From 3773e87dda577d45564688e9efbb15f00e98ef59 Mon Sep 17 00:00:00 2001
From: Johannes Pfeifer <jpfeifer@gmx,de>
Date: Mon, 24 Nov 2014 17:40:29 +0100
Subject: [PATCH] Add initial values to prevent unit test from crashing due to
 numerical inaccuracy. (cherry picked from commit
 1ac96c68080966d0dfe488c19ae0c30c063cf2be)

---
 .../osr_example_objective_correctness.mod            | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/tests/optimal_policy/osr_example_objective_correctness.mod b/tests/optimal_policy/osr_example_objective_correctness.mod
index a060bf6b18..be67fa10a0 100644
--- a/tests/optimal_policy/osr_example_objective_correctness.mod
+++ b/tests/optimal_policy/osr_example_objective_correctness.mod
@@ -26,7 +26,7 @@ end;
 
 options_.nograph=1;
 options_.nocorr=1;
-options_.osr.tolf=1e-15;
+options_.osr.tolf=1e-20;
 osr_params gammax0 gammac0 gamma_y_ gamma_inf_;
 
 
@@ -65,11 +65,11 @@ if abs(oo_.osr.objective_function-objective)>1e-8
     error('Objective Function is wrong')
 end
 
-% gammax0=  3.94954;
-% gammac0=  4.39418;
-% gamma_y_= 16.6664;
-% gamma_inf_= 8.28523;
-
+gammax0=1.35533;
+gammac0=1.39664;
+gamma_y_=16.6667;
+gamma_inf_=9.13199;
+        
 %redo computation with double weight on one covariance 
 optim_weights;
 inflation 1;
-- 
GitLab