Skip to content
Snippets Groups Projects
Commit 174ba2da authored by Erik Strand's avatar Erik Strand
Browse files

Add TODOs for rvalue references for cma-es and gd

parent 77759efc
No related branches found
No related tags found
No related merge requests found
......@@ -35,6 +35,7 @@ public:
inline Eigen::Map<const Eigen::MatrixXd> point();
Scalar value() { return cmaes_Get(&cma_es_, "fbestever"); }
// TODO: Support passing initial point by rvalue reference.
template <typename Objective>
Eigen::Map<const Eigen::MatrixXd> optimize(
Objective& objective,
......
......@@ -25,6 +25,7 @@ public:
VectorNs<N> const& gradient() const { return gradient_; }
Scalar value() const { return value_; }
// TODO: Support passing initial point by rvalue reference.
template <typename Objective>
VectorNs<N> const& optimize(Objective& objective, VectorNs<N> const& initial_point);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment