SimulationMap
constructor: set Face::node
fields after all the MapNode
s are created
#7
Labels
bug
Something isn't working
Current
SimulationMap
's implementation requires movingMapNode
s, but because theFace::node
fields are set to pointers toMapNode
s during the creation of the grid of nodes, moving them invalidates the pointers set at faces.The solution is to set
Face::node
fields only after the whole grid is created, at the end ofSimulationMap
constructorThe text was updated successfully, but these errors were encountered: