We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfb11d8 commit 830a5f9Copy full SHA for 830a5f9
pm4py/algo/evaluation/earth_mover_distance/variants/pyemd.py
@@ -158,9 +158,8 @@ def emd(
158
159
if res.status != 0:
160
raise ValueError(
161
- f"Linear programming failed. Status: {
162
- res.status}, Message: {
163
- res.message}")
+ "Linear programming failed. Status: {}, Message: {}".format(
+ res.status, res.message))
164
165
# The optimal value is the EMD
166
return res.fun
0 commit comments