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

Code style and API cleanup. #30

Merged
merged 1 commit into from
Mar 1, 2019
Merged

Code style and API cleanup. #30

merged 1 commit into from
Mar 1, 2019

Conversation

tpapp
Copy link
Owner

@tpapp tpapp commented Mar 1, 2019

API changes:

  1. remove get_parent (replaced by Base.parent),

  2. remove get_transformation (replaced by the property accessor
    .transformation); similary support .log_density_function

Code style changes:

Don't import extended methods, more consistent formatting.

API changes:

1. remove `get_parent` (replaced by `Base.parent`),

2. remove `get_transformation` (replaced by the property accessor
`.transformation`); similary support `.log_density_function`

Code style changes:

Don't import extended methods, more consistent formatting.
@codecov
Copy link

codecov bot commented Mar 1, 2019

Codecov Report

Merging #30 into master will decrease coverage by 1.03%.
The diff coverage is 91.66%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master     #30      +/-   ##
=========================================
- Coverage   97.93%   96.9%   -1.04%     
=========================================
  Files           4       4              
  Lines          97      97              
=========================================
- Hits           95      94       -1     
- Misses          2       3       +1
Impacted Files Coverage Δ
src/AD_ForwardDiff.jl 95% <ø> (ø) ⬆️
src/AD_Flux.jl 85.71% <0%> (ø) ⬆️
src/LogDensityProblems.jl 97.95% <100%> (-2.05%) ⬇️
src/AD_ReverseDiff.jl 100% <100%> (ø) ⬆️

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 1faa96d...798fa54. Read the comment docs.

@coveralls
Copy link

Pull Request Test Coverage Report for Build 123

  • 11 of 12 (91.67%) changed or added relevant lines in 3 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage decreased (-1.03%) to 96.907%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/AD_Flux.jl 0 1 0.0%
Files with Coverage Reduction New Missed Lines %
src/LogDensityProblems.jl 1 97.96%
Totals Coverage Status
Change from base Build 120: -1.03%
Covered Lines: 94
Relevant Lines: 97

💛 - Coveralls

@tpapp tpapp merged commit 1f99a2f into master Mar 1, 2019
@tpapp tpapp deleted the tp/cleanup branch March 1, 2019 10:47
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

2 participants