summarylogtreecommitdiffstats
path: root/LBFGS.patch
diff options
context:
space:
mode:
Diffstat (limited to 'LBFGS.patch')
-rw-r--r--LBFGS.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/LBFGS.patch b/LBFGS.patch
new file mode 100644
index 000000000000..cef5d4070328
--- /dev/null
+++ b/LBFGS.patch
@@ -0,0 +1,11 @@
+--- LBFGS.ipp.orig 2016-04-15 10:46:11.527249307 +0200
++++ LBFGS.ipp 2016-04-15 10:46:21.377843414 +0200
+@@ -107,7 +107,7 @@
+
+ // perform line search, update f, and take step
+
+- Real step = DoLineSearch(x[k%2], f[k%2], g[k%2], d,
++ Real step = this->DoLineSearch(x[k%2], f[k%2], g[k%2], d,
+ x[(k+1)%2], f[(k+1)%2], g[(k+1)%2],
+ Real(0), std::min(Real(10), MAX_STEP_NORM / std::max(Real(1), Norm(d))));
+