Skip to content

Fix cubic penalty in trapping objective - #692

Open
ShreyanshGoyal wants to merge 1 commit into
dynamicslab:mainfrom
ShreyanshGoyal:661-fix-trapping-objective
Open

Fix cubic penalty in trapping objective#692
ShreyanshGoyal wants to merge 1 commit into
dynamicslab:mainfrom
ShreyanshGoyal:661-fix-trapping-objective

Conversation

@ShreyanshGoyal

Copy link
Copy Markdown

Summary

  • include the cubic enstrophy penalty in the local TrappingSR3 objective
  • add a regression test that evaluates both enstrophy penalties independently

Fixes #661

Tests

  • pytest -q test/test_optimizers/test_trapping.py (13 passed)
  • black --check --fast pysindy/optimizers/trapping_sr3.py test/test_optimizers/test_trapping.py

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.

[BUG] Trapping objective missing term

1 participant