Skip to content
Snippets Groups Projects
Commit fdeb0d5d authored by Houtan Bastani's avatar Houtan Bastani
Browse files

Merge pull request #797 from JohannesPfeifer/osr_unit_test

Add initial values to prevent unit test from crashing due to numerical i...
parents 289afb51 1ac96c68
Branches
Tags
No related merge requests found
...@@ -26,7 +26,7 @@ end; ...@@ -26,7 +26,7 @@ end;
options_.nograph=1; options_.nograph=1;
options_.nocorr=1; options_.nocorr=1;
options_.osr.tolf=1e-15; options_.osr.tolf=1e-20;
osr_params gammax0 gammac0 gamma_y_ gamma_inf_; osr_params gammax0 gammac0 gamma_y_ gamma_inf_;
...@@ -65,10 +65,10 @@ if abs(oo_.osr.objective_function-objective)>1e-8 ...@@ -65,10 +65,10 @@ if abs(oo_.osr.objective_function-objective)>1e-8
error('Objective Function is wrong') error('Objective Function is wrong')
end end
% gammax0= 3.94954; gammax0=1.35533;
% gammac0= 4.39418; gammac0=1.39664;
% gamma_y_= 16.6664; gamma_y_=16.6667;
% gamma_inf_= 8.28523; gamma_inf_=9.13199;
%redo computation with double weight on one covariance %redo computation with double weight on one covariance
optim_weights; optim_weights;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment