Skip to content
Snippets Groups Projects
Commit 57b9e953 authored by Vincent Nivoliers's avatar Vincent Nivoliers
Browse files

forwarded fix in permutation to almost exact

parent 258fb054
Branches master
No related tags found
No related merge requests found
......@@ -120,7 +120,7 @@ size_t leftmost(const std::vector<vec>& points) {
size_t min = 0 ;
//iterato on all the points
for(size_t i = 1; i < points.size(); ++i) {
if(points[i].x < points[min].x) {
if(points[i].lexicoinf(points[min])) {
//update the leftmost
min = i ;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment