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 Dukes/MacDonald #128

Merged
merged 2 commits into from
Jul 3, 2023
Merged

Conversation

MatthewCaseres
Copy link
Contributor

No description provided.

@codecov
Copy link

codecov bot commented Jul 2, 2023

Codecov Report

Merging #128 (3fbdfd8) into master (1406f5c) will increase coverage by 0.65%.
The diff coverage is 100.00%.

❗ Current head 3fbdfd8 differs from pull request most recent head 130c1a4. Consider uploading reports for the commit 130c1a4 to get more accurate results

@@            Coverage Diff             @@
##           master     #128      +/-   ##
==========================================
+ Coverage   90.70%   91.35%   +0.65%     
==========================================
  Files           9       10       +1     
  Lines         398      428      +30     
==========================================
+ Hits          361      391      +30     
  Misses         37       37              
Impacted Files Coverage Δ
src/MortalityTables.jl 100.00% <ø> (ø)
src/dukes_macdonald.jl 100.00% <100.00%> (ø)

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

@MatthewCaseres
Copy link
Contributor Author

closes #127

Copy link
Member

@alecloudenback alecloudenback left a comment

Choose a reason for hiding this comment

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

Looks good overall, a couple of things before merging:

  • Needs docstrings
  • Please remove the type annotations on the methods.
    • Restricting to Float64 prevents other rate types (e.g. Float32, or Duals used with automatic differentiation)
    • errors can be more local to where the inappropriate type is used

@MatthewCaseres
Copy link
Contributor Author

should be ok now

@alecloudenback alecloudenback merged commit b7e8f18 into JuliaActuary:master Jul 3, 2023
7 checks passed
@alecloudenback
Copy link
Member

Thanks!

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