Resolved ambiguous call on windows

release/4.3a0
Richard Roberts 2012-08-06 18:42:54 +00:00
parent ee87b51a9f
commit 7c1f7d3d21
1 changed files with 2 additions and 2 deletions

View File

@ -116,8 +116,8 @@ namespace gtsam {
"addMeasurements: J and Z must have same number of entries"); "addMeasurements: J and Z must have same number of entries");
for (int k = 0; k < Z.cols(); k++) { for (int k = 0; k < Z.cols(); k++) {
graph.push_back( graph.push_back(
make_shared<GenericProjectionFactor<Pose3, Point3> > boost::make_shared<GenericProjectionFactor<Pose3, Point3> >
(Point2(Z(0, k), Z(1, k)), model, i, J(k), K)); (Point2(Z(0, k), Z(1, k)), model, i, Key(J(k)), K));
} }
} }