Skip to content

Commit cbdf979

Browse files
framunozFrancisco Muñozrflamary
authored
[MRG] fix: make the documentation of _get_loss_unbalanced as a raw string (#716)
* refactor: make the documentation of _get_loss_unbalanced as a raw string This is to avoid the following warning: SyntaxWarning: invalid escape sequence '\m' * Update RELEASES.md * [MRG] docs: fix missing delimeter for left (#718) * fix: add backslash to fix the error in the documentation * refactor: delete space * Update RELEASES.md --------- Co-authored-by: Francisco Muñoz <[email protected]> --------- Co-authored-by: Francisco Muñoz <[email protected]> Co-authored-by: Rémi Flamary <[email protected]>
1 parent bc5fc11 commit cbdf979

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

RELEASES.md

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
- Added feature `grad=last_step` for `ot.solvers.solve` (PR #693)
88
- Automatic PR labeling and release file update check (PR #704)
99
- Reorganize sub-module `ot/lp/__init__.py` into separate files (PR #714)
10+
- Fix warning raise when import the library (PR #716)
1011
- Implement projected gradient descent solvers for entropic partial FGW (PR #702)
1112
- Fix documentation in the module `ot.gaussian` (PR #718)
1213
- Refactored `ot.bregman._convolutional` to improve readability (PR #709)

ot/unbalanced/_lbfgs.py

+1-1
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)