Skip to content

Commit a8e6b86

Browse files
committed
Small fix
1 parent fb1941f commit a8e6b86

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

PEPit/function.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ def add_constraints_from_two_lists_of_points(self, list_of_points_1, list_of_poi
418418
if xj_id is None:
419419
xj_id = "Point_{}".format(j)
420420

421-
if i == j or (i > j and symmetry):
421+
if point_i == point_j or (i > j and symmetry):
422422
row_of_constraints.append(0)
423423

424424
else:

0 commit comments

Comments
 (0)