Skip to content

Commit 4f7149c

Browse files
authored
refactor: make the documentation of _get_loss_unbalanced as a raw string
This is to avoid the following warning: SyntaxWarning: invalid escape sequence '\m'
1 parent a11b055 commit 4f7149c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ot/unbalanced/_lbfgs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919

2020
def _get_loss_unbalanced(a, b, c, M, reg, reg_m1, reg_m2, reg_div="kl", regm_div="kl"):
21-
"""
21+
r"""
2222
Return loss function for the L-BFGS-B solver
2323
2424
.. note:: This function will be fed into scipy.optimize, so all input arrays must be Numpy arrays.

0 commit comments

Comments
 (0)