Commit e0161fce authored by Florian Wittkamp's avatar Florian Wittkamp

Bugfix: Steplength search LBFGS

parent 57a02ac2
...@@ -3879,7 +3879,7 @@ int main(int argc, char **argv){ ...@@ -3879,7 +3879,7 @@ int main(int argc, char **argv){
if(MYID==0){ if(MYID==0){
printf("\n Did not find a step length which decreases the misfit.\n"); printf("\n Did not find a step length which decreases the misfit.\n");
} }
step3=0;
break; break;
} }
...@@ -3918,6 +3918,8 @@ int main(int argc, char **argv){ ...@@ -3918,6 +3918,8 @@ int main(int argc, char **argv){
PCG_iter_start=iter+1; PCG_iter_start=iter+1;
wolfe_SLS_failed=0; wolfe_SLS_failed=0;
step3=0;
} }
/* ------------------------------------------------- */ /* ------------------------------------------------- */
...@@ -3953,6 +3955,8 @@ int main(int argc, char **argv){ ...@@ -3953,6 +3955,8 @@ int main(int argc, char **argv){
wolfe_SLS_failed=0; wolfe_SLS_failed=0;
alpha_SL_old=1; alpha_SL_old=1;
step3=0;
} }
/* ------------------------------------------------- */ /* ------------------------------------------------- */
...@@ -3988,6 +3992,8 @@ int main(int argc, char **argv){ ...@@ -3988,6 +3992,8 @@ int main(int argc, char **argv){
wolfe_SLS_failed=0; wolfe_SLS_failed=0;
alpha_SL_old=1; alpha_SL_old=1;
step3=0;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment