From 7e348a8204d6719a0510efdba6caa96af1dc0f92 Mon Sep 17 00:00:00 2001 From: Duy-Nguyen Ta Date: Mon, 14 Nov 2016 00:11:04 -0500 Subject: [PATCH] wrap push_back and at for FastVector (hence, KeyVector) --- cython/gtsam.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cython/gtsam.h b/cython/gtsam.h index 965c08108..3bf581208 100644 --- a/cython/gtsam.h +++ b/cython/gtsam.h @@ -7,6 +7,9 @@ typedef size_t Key; template class FastVector { FastVector(); FastVector(const This& f); + void push_back(const T& e); + //T& operator[](int); + T at(int i); }; typedef gtsam::FastVector KeyVector;