refactoring/cleanup without test :(

This commit is contained in:
Sascha Nitsch 2022-01-17 16:44:51 +01:00
parent 8c21e7ac6a
commit 90e65cacd6

View file

@ -96,7 +96,7 @@ int8_t DistancePath::process(Image* input, Image* output) {
// swap list to get new input queue
std::swap(last, next);
if (iteration > 10000) break;
} while (next->size() > 0);
} while (last->size() > 0);
printf("iterations: %i\n", iteration);
// find max value