refactoring/cleanup without test :(
parent
8c21e7ac6a
commit
90e65cacd6
|
@ -96,7 +96,7 @@ int8_t DistancePath::process(Image* input, Image* output) {
|
||||||
// swap list to get new input queue
|
// swap list to get new input queue
|
||||||
std::swap(last, next);
|
std::swap(last, next);
|
||||||
if (iteration > 10000) break;
|
if (iteration > 10000) break;
|
||||||
} while (next->size() > 0);
|
} while (last->size() > 0);
|
||||||
|
|
||||||
printf("iterations: %i\n", iteration);
|
printf("iterations: %i\n", iteration);
|
||||||
// find max value
|
// find max value
|
||||||
|
|
Loading…
Reference in New Issue