Fixed uninitialized variable in ElephantFootCompensation

This commit is contained in:
Lukáš Hejl 2020-11-29 14:00:34 +01:00
parent 55c282d85d
commit f16e8f1a72

View file

@ -258,6 +258,7 @@ std::vector<float> contour_distance2(const EdgeGrid::Grid &grid, const size_t id
this->point = apoint;
this->found = false;
this->dir_inside = this->dir_inside_at_point(contour, this->idx_point);
this->distance = std::numeric_limits<double>::max();
}
bool operator()(coord_t iy, coord_t ix) {