Skip to content

Conversation

@albertomercurio
Copy link
Contributor

This PR fixes #247.

A dedicated update_coefficients! method for in-place update of ScaledOperator was missing.

I've just added that method.

@albertomercurio albertomercurio changed the title Add missing inplace update_coefficients Add missing inplace update_coefficients for ScaledOperator Oct 13, 2024
@albertomercurio
Copy link
Contributor Author

Ok, the memory allocations are reduced, but not totally removed as in the MatrixOperator case.

@ChrisRackauckas ChrisRackauckas merged commit 120fc16 into SciML:master Oct 13, 2024
4 of 10 checks passed
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.

Memory allocations when solving ODE with ScaledOperator

2 participants