FLAMEGPU / FLAMEGPU2

FLAME GPU 2 is a GPU accelerated agent based modelling framework for CUDA C++ and Python
https://flamegpu.com
MIT License
106 stars 22 forks source link

BugFix: Message buildIndex() before buffer init. #1055

Closed Robadob closed 1 year ago

Robadob commented 1 year ago

I don't think it impacts array messages (they have fixed allocation) or brute force (doesn't use buildIndex()).

I added tests because it's quite the edge-case to hit this bug.

Closes #1054

P.S. The one line deletion is another use_glm compilation warning fix.