grid icon indicating copy to clipboard operation
grid copied to clipboard

lazyGridMap constructor crashes on UnboundedOctGrid

Open dyerw opened this issue 9 months ago • 2 comments

This is because indices is undefined for unbounded grids. That makes sense, but then maybe the constructor should be constrained by FiniteGrid so this can't happen?

dyerw avatar Mar 09 '25 19:03 dyerw

It might require some changes to the type design and definitions. It's been years since I worked on this code, so I'm not sure.

mhwombat avatar Mar 10 '25 13:03 mhwombat

Totally, no worries! Just thought I'd mark the issue for posterity because it confused me for a while.

The lib is really useful for my game project, thanks for making it!

dyerw avatar Mar 10 '25 15:03 dyerw