From 5d41f5bdfa130013c92c2dab2b0189d6a3b1b32f Mon Sep 17 00:00:00 2001 From: Frank Dellaert Date: Tue, 1 Sep 2009 15:09:41 +0000 Subject: [PATCH] Calibration load gone, now constructor takes path --- cpp/Cal3_S2.cpp | 2 +- cpp/Cal3_S2.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cpp/Cal3_S2.cpp b/cpp/Cal3_S2.cpp index 33aaba336..0aec665c2 100644 --- a/cpp/Cal3_S2.cpp +++ b/cpp/Cal3_S2.cpp @@ -13,7 +13,7 @@ namespace gtsam { using namespace std; /* ************************************************************************* */ -void Cal3_S2::load(const std::string &path) { +Cal3_S2::Cal3_S2(const std::string &path) { char buffer[200]; buffer[0] = 0; sprintf(buffer, "%s/calibration_info.txt", path.c_str()); diff --git a/cpp/Cal3_S2.h b/cpp/Cal3_S2.h index b5b28564d..ef16e2932 100644 --- a/cpp/Cal3_S2.h +++ b/cpp/Cal3_S2.h @@ -41,7 +41,7 @@ namespace gtsam { /** * load calibration from location (default name is calibration_info.txt) */ - void load(const std::string &path); + Cal3_S2(const std::string &path); /** * Given 5-dim tangent vector, create new calibration