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 for issue #1266 #1267

Merged
merged 1 commit into from
Aug 19, 2024
Merged

Fix for issue #1266 #1267

merged 1 commit into from
Aug 19, 2024

Conversation

Jamesflynn1
Copy link
Contributor

@Jamesflynn1 Jamesflynn1 commented Aug 19, 2024

I removed an initial None element for a few of the prior_actions_weight arrays. They had no purpose within the code and must have been an artifact from a previous version. I have tested it locally with the newest version of Numpy and it passes the failing test fine.

I am also getting the following deprecation warning with the newer version (which I will also take a look at).

open_spiel/open_spiel/python/algorithms/efr.py:280: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)

#1266

@lanctot
Copy link
Collaborator

lanctot commented Aug 19, 2024

Thanks for the quick response!

@Jamesflynn1
Copy link
Contributor Author

No problem at all!

@lanctot lanctot added imported This PR has been imported and awaiting internal review. Please avoid any more local changes, thanks! merged internally The code is now submitted to our internal repo and will be merged in the next github sync. labels Aug 19, 2024
@lanctot lanctot merged commit 0be2e9a into google-deepmind:master Aug 19, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
imported This PR has been imported and awaiting internal review. Please avoid any more local changes, thanks! merged internally The code is now submitted to our internal repo and will be merged in the next github sync.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants