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(maze): fixed row and col in _compute_action_mask function. #194

Merged
merged 2 commits into from
Aug 19, 2023

Conversation

danielpalen
Copy link
Contributor

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
Copy link

CLAassistant commented Aug 1, 2023

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

@PDuckworth PDuckworth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me 👍

Copy link
Collaborator

@clement-bonnet clement-bonnet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for fixing this function.

@clement-bonnet clement-bonnet enabled auto-merge (squash) August 15, 2023 07:54
row and column were mixed up. In mazes where num_rows != num_cols
this would lead to incorrect action masks.
@clement-bonnet clement-bonnet merged commit 91021d8 into instadeepai:main Aug 19, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants