Skip to content

math: scan solve_pgs iterations#658

Open
staticpayload wants to merge 1 commit intogoogle:mainfrom
staticpayload:solve-pgs-scan
Open

math: scan solve_pgs iterations#658
staticpayload wants to merge 1 commit intogoogle:mainfrom
staticpayload:solve-pgs-scan

Conversation

@staticpayload
Copy link

Summary

  • replace the Python for-loop in solve_pgs with a lax.scan over iterations
  • add a diagonal system test to validate projected solution

Testing

  • python3.11 -m venv .venv-test
  • pip install -e .
  • pip install pytest
  • pytest brax/math_test.py -q

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.

1 participant