Skip to content

Implementes structured update #304

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

mmikhasenko
Copy link

@mmikhasenko mmikhasenko commented Apr 12, 2025

Closes #303

This PR adds update_component_array, a utility function that enables an update to ComponentArray values while maintaining type and structure.

Checklist

  • Appropriate tests were added

  • Any code changes were done in a way that does not break public API

The PR adds a new exported method update_component_array

  • All documentation related to code changes were updated

looking for a related code. The closest is the Optimisers.update method. It does something different - updates the tree.

@mmikhasenko
Copy link
Author

Ready for the review

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.

Add utility for structured updates in ComponentArrays
1 participant