forgot this for loop, wasn't a bad issue though

parent b221c07e
Pipeline #87 passed with stages
in 18 seconds
......@@ -69,6 +69,9 @@ void addPixelToSelectedZone(Image *t_img, int64_t t_idx, Zone *t_zone) {
for (; left_limit <= right_limit; ++left_limit) {
addPixelToSelectedZone(t_img, t_idx + t_img->sizeX, t_zone);
}
for (; left_limit <= right_limit; ++left_limit) {
addPixelToSelectedZone(t_img, t_idx - t_img->sizeX, t_zone);
}
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment