Arcade-Learning-Environment
Arcade-Learning-Environment copied to clipboard
Seeding mechanism breaks in DEBUG builds
In environment.py, in AtariEnv.seed, the seed is converted to a signed integer, with the expectation that it will be reconverted into an unsigned integer inside stella_environment.
That only works in Release builds. In Debug builds, an assertion aborts execution when seed <= 0. That makes Debug builds unusable for development with Python.
Hi @dreavjr,
Good catch, this is annoying on debug builds. I'll circle back to this and hopefully fix it for the next release. Thanks!