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

Update handling of jac_prototype #123

Merged
merged 4 commits into from
Jul 17, 2018
Merged

Conversation

MSeeker1340
Copy link
Contributor

To address SciML/OrdinaryDiffEq.jl#416 (comment), the jac_prototype field is moved from *DEProblem to *DEFunction. In addition, f.jac is automatically set to use update_coefficients! if the constructor is given a AbstractDiffEqLinearOperator and no custom jacobian update function is given (for out-of-place f, first a copy is made from jac_prototype and then update_coefficients! is called on the copy).

@coveralls
Copy link

coveralls commented Jul 17, 2018

Coverage Status

Coverage increased (+0.1%) to 91.931% when pulling 661a91a on MSeeker1340:jacobian into 2d4df79 on JuliaDiffEq:master.

@ChrisRackauckas ChrisRackauckas merged commit aa16264 into SciML:master Jul 17, 2018
@MSeeker1340 MSeeker1340 deleted the jacobian branch July 18, 2018 16:40
@MSeeker1340 MSeeker1340 mentioned this pull request Jul 18, 2018
ChrisRackauckas added a commit that referenced this pull request Jul 18, 2018
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.

3 participants