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

[MRG] Check metric is a string #379

Merged
merged 1 commit into from
May 16, 2022
Merged

Conversation

zdk123
Copy link
Contributor

@zdk123 zdk123 commented May 13, 2022

Types of changes

Resolves #378. The dist function needs an extra check that it's actually a string before calling a string method - mainly just in case the metric is a callable.

@rflamary rflamary changed the title Check metric is a string [MRG] Check metric is a string May 16, 2022
@codecov
Copy link

codecov bot commented May 16, 2022

Codecov Report

Merging #379 (fba7776) into master (b001d7a) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #379   +/-   ##
=======================================
  Coverage   93.76%   93.76%           
=======================================
  Files          23       23           
  Lines        5934     5934           
=======================================
  Hits         5564     5564           
  Misses        370      370           

@rflamary rflamary merged commit 951209a into PythonOT:master May 16, 2022
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.

dist function errors with a callable metric
2 participants