JamieMair / MuJoCo.jl

Julia bindings and visualiser for the MuJoCo physics engine.
https://jamiemair.github.io/MuJoCo.jl/
MIT License
57 stars 4 forks source link

50 wrap the specific functions that expect arrays with the corresponding julia type #87

Closed JamieMair closed 1 year ago

JamieMair commented 1 year ago

Added some wrapped functions that check the user's inputs to see if there are any problems with the size or type with regards to arrays.

codecov-commenter commented 1 year ago

Codecov Report

Attention: 806 lines in your changes are missing coverage. Please review.

Comparison is base (3103625) 25.47% compared to head (99b7634) 22.28%.

Files Patch % Lines
src/function_constraints.jl 0.00% 740 Missing :warning:
src/LibMuJoCo/functions.jl 0.00% 48 Missing :warning:
src/LibMuJoCo/structs.jl 0.00% 16 Missing :warning:
src/MuJoCo.jl 0.00% 2 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #87 +/- ## ========================================== - Coverage 25.47% 22.28% -3.20% ========================================== Files 21 22 +1 Lines 5161 5901 +740 ========================================== Hits 1315 1315 - Misses 3846 4586 +740 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.