Skip to content

Commit 2633116

Browse files
committed
Attempting to fix docstyle
1 parent b536be7 commit 2633116

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ot/utils.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,9 +189,9 @@ def cost_normalization(C, norm=None):
189189
elif norm == "loglog":
190190
C = np.log1p(np.log1p(C))
191191
else:
192-
raise ValueError(f'Norm {norm} is not a valid option.\n'
193-
f'Valid options are:\n'
194-
f'median, max, log, loglog')
192+
raise ValueError('Norm %s is not a valid option.\n'
193+
'Valid options are:\n'
194+
'median, max, log, loglog' % norm)
195195
return C
196196

197197

0 commit comments

Comments
 (0)