diff options
Diffstat (limited to 'mode_match.m')
-rw-r--r-- | mode_match.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mode_match.m b/mode_match.m index 443412a..0a36332 100644 --- a/mode_match.m +++ b/mode_match.m @@ -30,7 +30,7 @@ end parfor i = 1:N fitness_simplified=@(x) fitness(q0, qf, Ltot, x, possible_lens_set(i,:), lambda ); - [x_sol, energy]=fminsearch(fitness_simplified, initial_rand_lens_placement(i,:), optimset('TolX',1e-8,'TolFun',1e-8,'MaxFunEvals',1e8,'MaxIter',200)); + [x_sol, energy]=fminsearch(fitness_simplified, initial_rand_lens_placement(i,:), optimset('TolFun',1e-5,'MaxFunEvals',1e8,'MaxIter',200)); possible_lens_placement(i,:) =x_sol; possible_sample_energy(i) = energy; |