From 018fbf720f192e3d99837db637c4dec32118b52c Mon Sep 17 00:00:00 2001 From: dellaert Date: Thu, 25 Feb 2016 21:37:20 -0800 Subject: [PATCH] Fixed compile issue --- gtsam/slam/dataset.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtsam/slam/dataset.cpp b/gtsam/slam/dataset.cpp index 3021fe112..14192fcaa 100644 --- a/gtsam/slam/dataset.cpp +++ b/gtsam/slam/dataset.cpp @@ -719,7 +719,7 @@ bool readBAL(const string& filename, SfM_data &data) { size_t i = 0, j = 0; float u, v; is >> i >> j >> u >> v; - data.tracks[j].emplace_back(i, Point2(u, -v)); + data.tracks[j].measurements.emplace_back(i, Point2(u, -v)); } // Get the information for the camera poses