summaryrefslogtreecommitdiff
path: root/utils/lbfgs.h
diff options
context:
space:
mode:
authorWu, Ke <wuke@cs.umd.edu>2014-10-10 17:56:53 -0400
committerWu, Ke <wuke@cs.umd.edu>2014-10-10 17:56:53 -0400
commit2a33cd8b5106fa40ae1992a732e6a95720ff1dfc (patch)
tree2b4fa350f544e86571f8b696c87705b45c2a01e1 /utils/lbfgs.h
parente632e84862109742b81f3bf32d5133660e01a33c (diff)
Eliminate compiler warnings
Diffstat (limited to 'utils/lbfgs.h')
-rw-r--r--utils/lbfgs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/lbfgs.h b/utils/lbfgs.h
index ed5cd944..4d706f7a 100644
--- a/utils/lbfgs.h
+++ b/utils/lbfgs.h
@@ -1,6 +1,8 @@
#ifndef _LBFGS_H_
#define _LBFGS_H_
+#include <vector>
+
// template<class FuncGrad>
// std::vector<double>
// perform_LBFGS(FuncGrad func_grad, const std::vector<double> & x0);
@@ -13,7 +15,6 @@ std::vector<double> perform_OWLQN(
double (*func_grad)(const std::vector<double> &, std::vector<double> &),
const std::vector<double> &x0, const double C);
-// const int LBFGS_M = 7;
const int LBFGS_M = 10;
#endif