Skip to content
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

Add missing inplace update_coefficients for ScaledOperator #248

Merged
merged 1 commit into from
Oct 13, 2024

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