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

Make ODEProblem into a mutable struct #496

Merged
merged 1 commit into from
Sep 22, 2023
Merged

Conversation

wsmoses
Copy link
Contributor

@wsmoses wsmoses commented Sep 16, 2023

Required for use in a reverse-mode EnzymeRule. Otherwise there is a mixed activity for having both floats and vector{floats}, not behind a pointer.

@ChrisRackauckas
Copy link
Member

I'm not sure we can take that since the semantics of a mutable struct vs struct will make it harder on parallelism. We should chat about this.

@codecov
Copy link

codecov bot commented Sep 22, 2023

Codecov Report

Merging #496 (705a524) into master (03cdaed) will decrease coverage by 3.73%.
Report is 80 commits behind head on master.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #496      +/-   ##
==========================================
- Coverage   57.27%   53.55%   -3.73%     
==========================================
  Files          50       50              
  Lines        3703     3701       -2     
==========================================
- Hits         2121     1982     -139     
- Misses       1582     1719     +137     
Files Changed Coverage Δ
src/problems/ode_problems.jl 43.58% <ø> (-12.83%) ⬇️

... and 21 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@ChrisRackauckas ChrisRackauckas merged commit c8004f4 into SciML:master Sep 22, 2023
62 of 71 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.

2 participants