Fix IndexPairVector wrapping
parent
fe9c5718bb
commit
c68c986321
|
@ -41,19 +41,6 @@ class DSFMap {
|
||||||
std::map<KEY, This::Set> sets();
|
std::map<KEY, This::Set> sets();
|
||||||
};
|
};
|
||||||
|
|
||||||
class IndexPairVector {
|
|
||||||
IndexPairVector();
|
|
||||||
IndexPairVector(const gtsam::IndexPairVector& other);
|
|
||||||
|
|
||||||
// common STL methods
|
|
||||||
size_t size() const;
|
|
||||||
bool empty() const;
|
|
||||||
void clear();
|
|
||||||
|
|
||||||
// structure specific methods
|
|
||||||
gtsam::IndexPair at(size_t i) const;
|
|
||||||
void push_back(gtsam::IndexPair key) const;
|
|
||||||
};
|
|
||||||
|
|
||||||
gtsam::IndexPairVector IndexPairSetAsArray(gtsam::IndexPairSet& set);
|
gtsam::IndexPairVector IndexPairSetAsArray(gtsam::IndexPairSet& set);
|
||||||
|
|
||||||
|
|
|
@ -11,5 +11,4 @@
|
||||||
* mutations on Python side will not be reflected on C++.
|
* mutations on Python side will not be reflected on C++.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
PYBIND11_MAKE_OPAQUE(std::vector<gtsam::IndexPair>);
|
|
||||||
PYBIND11_MAKE_OPAQUE(std::vector<gtsam::Matrix>); // JacobianVector
|
PYBIND11_MAKE_OPAQUE(std::vector<gtsam::Matrix>); // JacobianVector
|
||||||
|
|
Loading…
Reference in New Issue