From 7c1f7d3d21bbc0e5ab162b580f7629e045e004db Mon Sep 17 00:00:00 2001 From: Richard Roberts Date: Mon, 6 Aug 2012 18:42:54 +0000 Subject: [PATCH] Resolved ambiguous call on windows --- matlab.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/matlab.h b/matlab.h index 1be686ff4..dfc0117e7 100644 --- a/matlab.h +++ b/matlab.h @@ -116,8 +116,8 @@ namespace gtsam { "addMeasurements: J and Z must have same number of entries"); for (int k = 0; k < Z.cols(); k++) { graph.push_back( - make_shared > - (Point2(Z(0, k), Z(1, k)), model, i, J(k), K)); + boost::make_shared > + (Point2(Z(0, k), Z(1, k)), model, i, Key(J(k)), K)); } }