ComponentArrays.jl icon indicating copy to clipboard operation
ComponentArrays.jl copied to clipboard

Implementes structured update

Open mmikhasenko opened this issue 8 months ago • 2 comments

Closes #303

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

Checklist

  • [x] Appropriate tests were added

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

The PR adds a new exported method update_component_array

  • [x] 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 avatar Apr 12 '25 15:04 mmikhasenko

Ready for the review

mmikhasenko avatar Apr 12 '25 15:04 mmikhasenko

Remind myself that this issue and PR exists.

mmikhasenko avatar Sep 26 '25 14:09 mmikhasenko