Skip to content

Commit df1ad7a

Browse files
Merge remote-tracking branch 'upstream/hotfixes' into release
2 parents 7d9d2af + 830a5f9 commit df1ad7a

File tree

1 file changed

+2
-3
lines changed
  • pm4py/algo/evaluation/earth_mover_distance/variants

1 file changed

+2
-3
lines changed

pm4py/algo/evaluation/earth_mover_distance/variants/pyemd.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -179,9 +179,8 @@ def emd(
179179

180180
if res.status != 0:
181181
raise ValueError(
182-
f"Linear programming failed. Status: {
183-
res.status}, Message: {
184-
res.message}")
182+
"Linear programming failed. Status: {}, Message: {}".format(
183+
res.status, res.message))
185184

186185
# The optimal value is the EMD
187186
return res.fun

0 commit comments

Comments
 (0)