Skip to content

Seeding mechanism breaks in DEBUG builds #468

@dreavjr

Description

@dreavjr

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions