refactoring/cleanup without test :(

master
Sascha Nitsch 2022-01-17 16:44:51 +01:00
parent 8c21e7ac6a
commit 90e65cacd6
1 changed files with 1 additions and 1 deletions

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