From 6be07e33bfc3137aea36b3489466af383bd5ee97 Mon Sep 17 00:00:00 2001 From: Andrew Melim Date: Mon, 21 May 2012 22:32:40 +0000 Subject: [PATCH] Dependency checking requires class definitions for all gtsam classes used in arguments of wrapped objects --- gtsam.h | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/gtsam.h b/gtsam.h index 5b909e053..628c91733 100644 --- a/gtsam.h +++ b/gtsam.h @@ -407,10 +407,21 @@ class Ordering { void push_back(size_t key); }; +//Andrew says: Required definitions for Marginal arguments +class NonlinearFactorGraph { + NonlinearFactorGraph(); + //This need to be populated with whatever functions might be needed. +}; + +class Values { + Values(); + //Same here +}; + // Frank says: this does not work. Why not? -//class Marginals { -// Marginals(const gtsam::NonlinearFactorGraph& graph, const gtsam::Values& solution); -//}; +class Marginals { + Marginals(const gtsam::NonlinearFactorGraph& graph, const gtsam::Values& solution); +}; }///\namespace gtsam