Fix compile issue

release/4.3a0
dellaert 2016-02-18 09:55:59 -08:00
parent 3a50a0e19e
commit 6d4cf0c115
1 changed files with 1 additions and 3 deletions

View File

@ -43,10 +43,8 @@ class_<Point3>("Point3")
.def("norm", &Point3::norm)
.def("normalized", &Point3::normalized)
.def("print", &Point3::print, print_overloads(args("s")))
#ifdef GTSAM_USE_VECTOR3_POINTS
#ifndef GTSAM_USE_VECTOR3_POINTS
.def("vector", &Point3::vector, return_value_policy<copy_const_reference>())
#else
.def("vector", &Point3::vector)
.def("x", &Point3::x)
.def("y", &Point3::y)
.def("z", &Point3::z)