Fix generation number when loading
benelot opened this issue · comments
Benjamin Ellenberger commented
A saved population will contain the current_generation +1 in the file, which causes the simulation to crash because it can not find a matching generation to load. Fix this by traversing back in the generation number until you find a valid folder.