diff --git a/PEPit/function.py b/PEPit/function.py index fd555b70..24445fb8 100644 --- a/PEPit/function.py +++ b/PEPit/function.py @@ -418,7 +418,7 @@ def add_constraints_from_two_lists_of_points(self, list_of_points_1, list_of_poi if xj_id is None: xj_id = "Point_{}".format(j) - if i == j or (i > j and symmetry): + if point_i == point_j or (i > j and symmetry): row_of_constraints.append(0) else: