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 checking of keywords to make solve more robust, fix #166 #30

Merged
merged 1 commit into from
May 12, 2017

Conversation

ScottPJones
Copy link
Contributor

No description provided.

@coveralls
Copy link

coveralls commented May 11, 2017

Coverage Status

Coverage increased (+0.3%) to 86.567% when pulling 41906cc on ScottPJones:spj/fix166 into 3f0465b on rveltz:master.

@codecov-io
Copy link

codecov-io commented May 11, 2017

Codecov Report

Merging #30 into master will increase coverage by 0.13%.
The diff coverage is 69.23%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #30      +/-   ##
==========================================
+ Coverage   86.29%   86.43%   +0.13%     
==========================================
  Files           4        4              
  Lines         197      199       +2     
==========================================
+ Hits          170      172       +2     
  Misses         27       27
Impacted Files Coverage Δ
src/LSODA.jl 100% <100%> (ø) ⬆️
src/common.jl 88.07% <66.66%> (+0.11%) ⬆️

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 3f0465b...f5a4138. Read the comment docs.

src/common.jl Outdated
@@ -4,6 +4,8 @@ function solve{uType,tType,isinplace}(
prob::AbstractODEProblem{uType,tType,isinplace},
alg::LSODAAlgorithm,
timeseries=[],ts=[],ks=[];

dense=false, verbose=true,
Copy link
Collaborator

Choose a reason for hiding this comment

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

dense shouldn't be treated differently.

@coveralls
Copy link

coveralls commented May 12, 2017

Coverage Status

Coverage increased (+0.1%) to 86.432% when pulling 24b1aee on ScottPJones:spj/fix166 into 3f0465b on rveltz:master.

2 similar comments
@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 86.432% when pulling 24b1aee on ScottPJones:spj/fix166 into 3f0465b on rveltz:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 86.432% when pulling 24b1aee on ScottPJones:spj/fix166 into 3f0465b on rveltz:master.

@ChrisRackauckas
Copy link
Collaborator

Nice work. Note @rveltz that this actually requires a DiffEqBase tag, but it's already to merge earlier since instead of throwing a warning on an ignored keyword argument, pre-tag it will throw an error. We chose to go with warnings because technically the solution is still correct, but the user should know that some of what they think might be tweaked isn't actually tweaked. This is a clean solution that handles all of the keyword args.

Copy link
Collaborator

@ChrisRackauckas ChrisRackauckas left a comment

Choose a reason for hiding this comment

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

Add dtmin and dtmax to the warnings list

Add dtmin, dtmax to the list of checked keywords
@ScottPJones
Copy link
Contributor Author

OK, dtmin/dtmax added

@rveltz rveltz merged commit 9b09fcb into rveltz:master May 12, 2017
@coveralls
Copy link

coveralls commented May 12, 2017

Coverage Status

Coverage increased (+0.1%) to 86.432% when pulling f5a4138 on ScottPJones:spj/fix166 into 3f0465b on rveltz:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 86.432% when pulling f5a4138 on ScottPJones:spj/fix166 into 3f0465b on rveltz:master.

@ScottPJones ScottPJones deleted the spj/fix166 branch May 12, 2017 09:56
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

5 participants