From 9391decc91e220b85945428e8b1e94a1c0b1b71f Mon Sep 17 00:00:00 2001 From: Mike Bosse Date: Mon, 10 Nov 2014 16:15:47 +0100 Subject: [PATCH] This does not work; but perhaps something like this may be done? --- gtsam.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/gtsam.h b/gtsam.h index c48bc825c..b5f121ce1 100644 --- a/gtsam.h +++ b/gtsam.h @@ -1671,6 +1671,16 @@ class Values { bool equals(const gtsam::Values& other, double tol) const; void insert(size_t j, const gtsam::Value& value); + template + void insert(size_t j, const T& value); void insert(const gtsam::Values& values); void update(size_t j, const gtsam::Value& val); void update(const gtsam::Values& values);