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

Adds resize! for JacobianCache #63

Merged
merged 1 commit into from
Jul 2, 2019
Merged

Adds resize! for JacobianCache #63

merged 1 commit into from
Jul 2, 2019

Conversation

kanav99
Copy link
Contributor

@kanav99 kanav99 commented Jul 1, 2019

Do we need anything else in this? I have changed JacobianCache to be mutable for this, I suppose it's not a big problem

@coveralls
Copy link

Coverage Status

Coverage increased (+0.4%) to 55.67% when pulling aecb30e on kanav99:resize_jac into e6fbdde on JuliaDiffEq:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage increased (+0.4%) to 55.67% when pulling aecb30e on kanav99:resize_jac into e6fbdde on JuliaDiffEq:master.

@codecov
Copy link

codecov bot commented Jul 1, 2019

Codecov Report

Merging #63 into master will decrease coverage by 0.85%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #63      +/-   ##
==========================================
- Coverage   68.51%   67.66%   -0.86%     
==========================================
  Files           7        7              
  Lines         397      402       +5     
==========================================
  Hits          272      272              
- Misses        125      130       +5
Impacted Files Coverage Δ
src/DiffEqDiffTools.jl 75% <ø> (ø) ⬆️
src/jacobians.jl 84.03% <0%> (-3.69%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e6fbdde...aecb30e. Read the comment docs.

@@ -1,4 +1,4 @@
struct JacobianCache{CacheType1,CacheType2,CacheType3,ColorType,fdtype,returntype,inplace}
mutable struct JacobianCache{CacheType1,CacheType2,CacheType3,ColorType,fdtype,returntype,inplace}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this shouldn't be necessary?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is necessary because we change color's value

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh yes.

@ChrisRackauckas ChrisRackauckas merged commit 48897f0 into JuliaDiff:master Jul 2, 2019
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.

None yet

3 participants