summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorngayraud <nat.gayraud@gmail.com>2019-08-12 16:51:51 -0400
committerngayraud <nat.gayraud@gmail.com>2019-08-12 16:51:51 -0400
commitb536be73326e20fd3959ba4fe28cc45a344f47d3 (patch)
tree8e3b06b7144be13958fce175327aedc9f42d8cf4
parent9d4b786a036ac95989825beec819521089fb4feb (diff)
Attempting to fix docstyle
-rw-r--r--ot/utils.py2
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