Skip to content

Improve the vector-field API: Move vector-fields back into constraints, read off ode_order from the Callable, and more#851

Merged
pnkraemer merged 10 commits into
mainfrom
vector-field-api
Feb 17, 2026
Merged

Improve the vector-field API: Move vector-fields back into constraints, read off ode_order from the Callable, and more#851
pnkraemer merged 10 commits into
mainfrom
vector-field-api

Conversation

@pnkraemer
Copy link
Copy Markdown
Owner

  • Move vector fields back into constraints because this is the exclusive place where they are used
  • Read ode_order off the vector field callables with inspect to reduce the error proneness of a user remembering to pass ode_order=2 for higher-order ODEs. The ODE order is always uniquely determined from the vector field.
  • Remove damping-increases with update-skipping (internal)
  • Improve documentation (minor tweaks)

Technically, moving the vector field argument is not breaking because the previous release had the vector fields in the corrections already and we're just moving them back. However, since ode_order is gone, the change is not backwards compatible.

@pnkraemer pnkraemer added documentation Improvements or additions to documentation enhancement New feature or request internals Improving the inner workings breaking This change breaks the existing API labels Feb 17, 2026
@pnkraemer pnkraemer merged commit 6e7acf0 into main Feb 17, 2026
10 checks passed
@pnkraemer pnkraemer deleted the vector-field-api branch February 17, 2026 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking This change breaks the existing API documentation Improvements or additions to documentation enhancement New feature or request internals Improving the inner workings

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant