diff --git a/gtsam/base/numericalDerivative.h b/gtsam/base/numericalDerivative.h index 1f9824fc7..429920e1c 100644 --- a/gtsam/base/numericalDerivative.h +++ b/gtsam/base/numericalDerivative.h @@ -118,11 +118,11 @@ namespace gtsam { return numericalDerivative11(boost::bind(h, _1), x, delta); } - /** remapping for double valued functions */ - template - Matrix numericalDerivative11(boost::function h, const X& x, double delta=1e-5) { - return numericalDerivative11(boost::bind(makeLieVectorD, boost::bind(h, _1)), x, delta); - } +// /** remapping for double valued functions */ +// template +// Matrix numericalDerivative11(boost::function h, const X& x, double delta=1e-5) { +// return numericalDerivative11(boost::bind(makeLieVectorD, boost::bind(h, _1)), x, delta); +// } template Matrix numericalDerivative11(double (*h)(const X&), const X& x, double delta=1e-5) {