Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
refactor: make the documentation of _get_loss_unbalanced as a raw string
This is to avoid the following warning:
SyntaxWarning: invalid escape sequence '\m'
  • Loading branch information
framunoz authored Jan 22, 2025
commit 4f7149cbcd95708e6eef0bf8b5ff518246094867
2 changes: 1 addition & 1 deletion ot/unbalanced/_lbfgs.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@


def _get_loss_unbalanced(a, b, c, M, reg, reg_m1, reg_m2, reg_div="kl", regm_div="kl"):
"""
r"""
Return loss function for the L-BFGS-B solver

.. note:: This function will be fed into scipy.optimize, so all input arrays must be Numpy arrays.
Expand Down