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

fix rosenbrock allocations #2634

Merged

Conversation

oscardssmith
Copy link
Contributor

@oscardssmith oscardssmith commented Mar 21, 2025

This doesn't remove all the allocations since lu! still allocates a Vector for the permutations, but it removes a bunch of them.

fixes #2632

@oscardssmith oscardssmith changed the title fix rosenbrock factorizations fix rosenbrock allocations Mar 21, 2025
@ChrisRackauckas
Copy link
Member

This doesn't remove all the allocations since lu! still allocates a Vector for the permutations, but it removes a bunch of them.

LinearSolve.jl avoids that if you use the MKL or apple BLASes, which most things default to? And RecursiveFactorization.jl. It's just the OpenBLAS usage that will have that.

@ChrisRackauckas ChrisRackauckas merged commit 64ed9d2 into SciML:master Mar 21, 2025
135 of 147 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.

Rodas4 solver allocates while Tsit5 does not
2 participants