fix namespace
parent
d8a8d459ae
commit
c93c9f1863
|
@ -142,7 +142,7 @@ int main(int argc, char* argv[]) {
|
||||||
boost::optional<Point3> point;
|
boost::optional<Point3> point;
|
||||||
|
|
||||||
// The graph stores Factor shared_ptrs, so we cast back to a SmartFactor first
|
// The graph stores Factor shared_ptrs, so we cast back to a SmartFactor first
|
||||||
SmartFactor::shared_ptr smart = dynamic_pointer_cast<SmartFactor>(graph[j]);
|
SmartFactor::shared_ptr smart = boost::dynamic_pointer_cast<SmartFactor>(graph[j]);
|
||||||
if (smart) {
|
if (smart) {
|
||||||
point = smart->point(result);
|
point = smart->point(result);
|
||||||
if (point) // ignore if boost::optional return NULL
|
if (point) // ignore if boost::optional return NULL
|
||||||
|
|
Loading…
Reference in New Issue