Skip to content

Commit 06a3f2f

Browse files
authored
Merge pull request #130 from PerformanceEstimation/fix/function_interpolation
Fix the way the interpolation constraints are listed
2 parents f653537 + a8e6b86 commit 06a3f2f

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)