mirobeka / cellular-automata

Experiments on lattice
2 stars 0 forks source link

Use set instead of list as datastructure for neighbors #21

Closed mirobeka closed 11 years ago

mirobeka commented 11 years ago

List is causing some bugs when adding or removing multiple same neighbors in some direction. Set solves this problem + makes more sense, since neighbors in some direction don't have to be ordered.

mirobeka commented 11 years ago

Fixed in 368311cb0879eff8f388b167e39994702ebf4f6c