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

Move entropic and quadratic regularization to separate files #93

Merged
merged 3 commits into from
Jun 4, 2021

Conversation

devmotion
Copy link
Member

This PR just contains a simple refactoring: as in the tests, methods for entropic and quadratic regularization are moved to separate files. I got the impression that src/OptimalTransport.jl became quite long, so maybe this additional structure is an improvement.

@codecov-commenter
Copy link

codecov-commenter commented Jun 3, 2021

Codecov Report

Merging #93 (b647450) into master (dc4dd48) will not change coverage.
The diff coverage is 95.70%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #93   +/-   ##
=======================================
  Coverage   96.62%   96.62%           
=======================================
  Files           4        5    +1     
  Lines         385      385           
=======================================
  Hits          372      372           
  Misses         13       13           
Impacted Files Coverage Δ
src/quadratic.jl 88.00% <88.00%> (ø)
src/entropic.jl 97.57% <97.57%> (ø)

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 dc4dd48...b647450. Read the comment docs.

@coveralls
Copy link

coveralls commented Jun 3, 2021

Pull Request Test Coverage Report for Build 904471093

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 245 of 256 (95.7%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 96.623%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/entropic.jl 201 206 97.57%
src/quadratic.jl 44 50 88.0%
Totals Coverage Status
Change from base Build 903641520: 0.0%
Covered Lines: 372
Relevant Lines: 385

💛 - Coveralls

test/entropic.jl Outdated Show resolved Hide resolved
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@devmotion devmotion merged commit 4a26ec9 into master Jun 4, 2021
@devmotion devmotion deleted the dw/refactor branch June 4, 2021 09:30
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