instadeepai / jumanji

🕹️ A diverse suite of scalable reinforcement learning environments in JAX
https://instadeepai.github.io/jumanji
Apache License 2.0
583 stars 70 forks source link

fix(maze): fixed row and col in _compute_action_mask function. #194

Closed danielpalen closed 1 year ago

danielpalen commented 1 year ago

Row and column were mixed up. In mazes where num_rows != num_cols, this would lead to incorrect action masks. This was fixed and the naming was changed from (x, y) to (row, col) in order to improve readability.

CLAassistant commented 1 year ago

CLA assistant check
All committers have signed the CLA.