Skip to content

Commit

Permalink
CI runs small_control/demo.py (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
hongkai-dai authored Feb 11, 2025
1 parent 5deee26 commit ff983be
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,7 @@ jobs:
run: |
source venv/bin/activate
python examples/nonlinear_toy/demo_trigpoly.py --unit_test
- name: run small_control/demo
run: |
source venv/bin/activate
python examples/small_control/demo.py
1 change: 1 addition & 0 deletions examples/small_control/demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ def main():
compatible_lagrangians_result = compatible_lagrangians.get_result(
compatible_result, coefficient_tol=1e-10
)
assert compatible_result.is_success()
print(f"xi_y lagrangians\n{compatible_lagrangians_result.xi_y}")
print(f"lambda_y lagrangians\n{compatible_lagrangians_result.lambda_y}")

Expand Down

0 comments on commit ff983be

Please sign in to comment.