Skip to content

Commit dcf4c3a

Browse files
committed
Potential fix for python 3.9 test
1 parent a4907ec commit dcf4c3a

File tree

1 file changed

+2
-2
lines changed
  • cereeberus/cereeberus/distance

1 file changed

+2
-2
lines changed

cereeberus/cereeberus/distance/ilp.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -341,8 +341,8 @@ def solve_ilp(myAssgn, pulp_solver=None, verbose=False):
341341
for h in range(shape_m_tri):
342342
for k in range(shape_o_tri):
343343
prob += (
344-
i_n_i_0[h, k]
345-
== map_product_vars[block][starting_map][obj_type][h, k]
344+
map_product_vars[block][starting_map][obj_type][h, k]
345+
== float(i_n_i_0[h, k])
346346
)
347347

348348

0 commit comments

Comments
 (0)