diff --git a/gtsam/slam/dataset.h b/gtsam/slam/dataset.h index a18ae12f6..439a69fdc 100644 --- a/gtsam/slam/dataset.h +++ b/gtsam/slam/dataset.h @@ -94,7 +94,7 @@ GTSAM_EXPORT boost::optional parseVertexPose(std::istream& is, */ GTSAM_EXPORT boost::optional parseVertexLandmark(std::istream& is, - const std::string& tag) + const std::string& tag); /** * Parse TORO/G2O edge "id1 id2 x y yaw" @@ -176,7 +176,7 @@ GTSAM_EXPORT BetweenFactorPose3s parse3DFactors(const std::string& filename, GTSAM_EXPORT std::map parse3DPoses(const std::string& filename); /// Parse landmarks in 3D g2o graph file into a map of Point3s. -GTSAM_EXPORT std::map parse3DLandmarks(const string& filename) +GTSAM_EXPORT std::map parse3DLandmarks(const string& filename); /// Load TORO 3D Graph GTSAM_EXPORT GraphAndValues load3D(const std::string& filename); diff --git a/tests/testNonlinearISAM.cpp b/tests/testNonlinearISAM.cpp index 88ae508b6..974806612 100644 --- a/tests/testNonlinearISAM.cpp +++ b/tests/testNonlinearISAM.cpp @@ -288,7 +288,7 @@ TEST(testNonlinearISAM, loop_closures ) { break; // Check if vertex - const auto indexedPose = parseVertex(is, tag); + const auto indexedPose = parseVertexPose(is, tag); if (indexedPose) { Key id = indexedPose->first; initialEstimate.insert(Symbol('x', id), indexedPose->second);