From 07bd7fa2bd3bac8c6dae59f14d7903e90334bf92 Mon Sep 17 00:00:00 2001 From: cbeall3 Date: Tue, 28 Jul 2015 15:14:39 -0400 Subject: [PATCH] fix examples and wrapper --- gtsam.h | 2 +- gtsam_unstable/examples/SmartStereoProjectionFactorExample.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gtsam.h b/gtsam.h index ebd554549..4de397d7c 100644 --- a/gtsam.h +++ b/gtsam.h @@ -915,7 +915,7 @@ class StereoCamera { // Standard Interface gtsam::Pose3 pose() const; double baseline() const; - gtsam::Cal3_S2Stereo* calibration() const; + gtsam::Cal3_S2Stereo calibration() const; // Manifold gtsam::StereoCamera retract(const Vector& d) const; diff --git a/gtsam_unstable/examples/SmartStereoProjectionFactorExample.cpp b/gtsam_unstable/examples/SmartStereoProjectionFactorExample.cpp index ac2c31077..5ba8ec913 100644 --- a/gtsam_unstable/examples/SmartStereoProjectionFactorExample.cpp +++ b/gtsam_unstable/examples/SmartStereoProjectionFactorExample.cpp @@ -46,7 +46,7 @@ using namespace gtsam; int main(int argc, char** argv){ - typedef SmartStereoProjectionPoseFactor SmartFactor; + typedef SmartStereoProjectionPoseFactor SmartFactor; bool output_poses = true; string poseOutput("../../../examples/data/optimized_poses.txt");