Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix generation number when loading #215

Open
benelot opened this issue Apr 25, 2016 · 0 comments
Open

Fix generation number when loading #215

benelot opened this issue Apr 25, 2016 · 0 comments

Comments

@benelot
Copy link
Owner

benelot commented Apr 25, 2016

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.

@benelot benelot added this to the Finishing touch::Backlog milestone Apr 25, 2016
@benelot benelot added the bug label Apr 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant