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
I traced the stack overflow to its source, which is the declaration of sdf_names with 350x50 std::strings. When I change the dimensions to 50x50 it works.
So we probably need to use an expanding vector for this, or a map of maps instead.
The text was updated successfully, but these errors were encountered:
You've switched the rows and columns – there are 350 rows and 50 columns, not 50 rows and 350 columns.
EDIT: And now I checked back to the first revision of the docs, and it says the same thing – 300 wide and 10 tall. That's not the original version though. I'm not sure if I have that… and there's at least one real mechanic in the game that clearly treats the array as taller than it is wide.
I traced the stack overflow to its source, which is the declaration of
sdf_names
with 350x50 std::strings. When I change the dimensions to 50x50 it works.So we probably need to use an expanding vector for this, or a map of maps instead.
The text was updated successfully, but these errors were encountered: