Fixed warning in SmartRangeFactor.h

release/4.3a0
AndreiCostinescu 2018-10-12 19:10:18 -04:00
parent 6ec0ca7982
commit 6c09d8681c
1 changed files with 11 additions and 10 deletions

View File

@ -121,8 +121,9 @@ class SmartRangeFactor: public NoiseModelFactor {
// use best fh to find actual intersection points
if (bestCircle2 && best_fh) {
auto bestCircleCenter = bestCircle2->center;
std::list<Point2> intersections = circleCircleIntersection(
circle1.center, bestCircle2->center, best_fh);
circle1.center, bestCircleCenter, best_fh);
// pick winner based on other measurements
double error1 = 0, error2 = 0;