Describe the purpose of the pull request, including:
The sheeprl.envs.diambra.DiambraWrapper converts the actions from numpy arrays to integers whether the actions space is discrete and a numpy array is given as action.
Type of Change
Please select the one relevant option below:
Bug fix (non-breaking change that solves an issue)
Checklist
Please confirm that the following tasks have been completed:
[x] I have tested my changes locally and they work as expected. (Please describe the tests you performed.)
[x] I have added unit tests for my changes, or updated existing tests if necessary.
[x] I have updated the documentation, if applicable.
[x] I have installed pre-commit and run locally for my code changes.
…n discrete control
Summary
Describe the purpose of the pull request, including:
sheeprl.envs.diambra.DiambraWrapper
converts the actions from numpy arrays to integers whether the actions space isdiscrete
and a numpy array is given as action.Type of Change
Please select the one relevant option below:
Checklist
Please confirm that the following tasks have been completed: