From a8e6b866e042a48c0be4201c035c578c1830ccd1 Mon Sep 17 00:00:00 2001 From: baptiste Date: Thu, 22 Jan 2026 11:36:32 +0100 Subject: [PATCH] Small fix --- PEPit/function.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: