From f462c8977e2c2502da6bf2ff873fae9b1ed8043f Mon Sep 17 00:00:00 2001 From: Stephen Williams Date: Wed, 8 May 2013 13:24:00 +0000 Subject: [PATCH] Commented out numerical derivative with double return type. This caused ambiguity with the Vector return type version. --- gtsam/base/numericalDerivative.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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) {