diff options
author | ngayraud <nat.gayraud@gmail.com> | 2019-08-12 16:51:51 -0400 |
---|---|---|
committer | ngayraud <nat.gayraud@gmail.com> | 2019-08-12 16:51:51 -0400 |
commit | b536be73326e20fd3959ba4fe28cc45a344f47d3 (patch) | |
tree | 8e3b06b7144be13958fce175327aedc9f42d8cf4 /ot | |
parent | 9d4b786a036ac95989825beec819521089fb4feb (diff) |
Attempting to fix docstyle
Diffstat (limited to 'ot')
-rw-r--r-- | ot/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ot/utils.py b/ot/utils.py index a334fea..b0d95f9 100644 --- a/ot/utils.py +++ b/ot/utils.py @@ -189,7 +189,7 @@ def cost_normalization(C, norm=None): elif norm == "loglog": C = np.log1p(np.log1p(C)) else: - raise ValueError(f'Norm {norm} is not a valid option. ' + raise ValueError(f'Norm {norm} is not a valid option.\n' f'Valid options are:\n' f'median, max, log, loglog') return C |