Merge pull request #797 from JohannesPfeifer/osr_unit_test

Add initial values to prevent unit test from crashing due to numerical i...
time-shift
Houtan Bastani 2014-11-24 17:47:06 +01:00
commit fdeb0d5d7c
1 changed files with 6 additions and 6 deletions

View File

@ -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;