brax icon indicating copy to clipboard operation
brax copied to clipboard

Remove duplicate code in brax.envs by using get_environment

Open arxaqapi opened this issue 2 years ago • 1 comments

This is a small pull request simply removing code duplication by reusing the brax.envs.get_environment function.

I have also made some slight improvements to the documentation of the brax.envs.create function to make its difference with the already existing brax.envs.get_environment function clearer.

arxaqapi avatar Jun 13 '23 15:06 arxaqapi

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

google-cla[bot] avatar Jun 13 '23 15:06 google-cla[bot]