From 149e6cef3624546b4bc390686ef730c84cc5cf8a Mon Sep 17 00:00:00 2001 From: Richard Roberts Date: Mon, 18 Jan 2010 02:23:10 +0000 Subject: [PATCH] Added an explicit instantiation to fix a link error that was only detected on Linux --- cpp/planarSLAM.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/cpp/planarSLAM.cpp b/cpp/planarSLAM.cpp index b8cc3c3fa..082ca9406 100644 --- a/cpp/planarSLAM.cpp +++ b/cpp/planarSLAM.cpp @@ -13,6 +13,7 @@ namespace gtsam { using namespace planarSLAM; + INSTANTIATE_LIE_CONFIG(PointKey, Point2) INSTANTIATE_PAIR_CONFIG(PoseKey, Pose2, PointKey, Point2) INSTANTIATE_NONLINEAR_FACTOR_GRAPH(Config) INSTANTIATE_NONLINEAR_OPTIMIZER(Graph, Config)