You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So if map->positions.size() is not a multiple of k_groupSize, then in some point there will be an index out of range because this: if (gid >= workCount) return; will not be evaluated while gid >= sizeOfPixels is true.
The text was updated successfully, but these errors were encountered:
Hello, maybe i'm confusing something, but i was reading Fornos code and i think i have found a little problem:
This line of code:
Fornos/Src/meshmapping.cpp
Line 165 in 75e8ec5
Here for example:
But the size of pixels is less than workCount:
So if
map->positions.size()
is not a multiple ofk_groupSize
, then in some point there will be an index out of range because this:if (gid >= workCount) return;
will not be evaluated whilegid >= sizeOfPixels
is true.The text was updated successfully, but these errors were encountered: