Fixed uninitialized variable in ElephantFootCompensation
This commit is contained in:
parent
55c282d85d
commit
f16e8f1a72
1 changed files with 6 additions and 5 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue