Skip to content

Commit 94c5830

Browse files
remove problem.input_pts
1 parent c5bb605 commit 94c5830

1 file changed

Lines changed: 15 additions & 15 deletions

File tree

pina/_src/problem/abstract_problem.py

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -43,21 +43,21 @@ def __init__(self):
4343
self.domains[cond_name] = cond.domain
4444
cond.domain = cond_name
4545

46-
# back compatibility 0.1
47-
@property
48-
def input_pts(self):
49-
"""
50-
Return a dictionary mapping condition names to their corresponding
51-
input points. If some domains are not sampled, they will not be returned
52-
and the corresponding condition will be empty.
53-
54-
:return: The input points of the problem.
55-
:rtype: dict
56-
"""
57-
to_return = {}
58-
for cond_name, data in self.collected_data.items():
59-
to_return[cond_name] = data["input"]
60-
return to_return
46+
# # back compatibility 0.1
47+
# @property
48+
# def input_pts(self):
49+
# """
50+
# Return a dictionary mapping condition names to their corresponding
51+
# input points. If some domains are not sampled, they will not be returned
52+
# and the corresponding condition will be empty.
53+
54+
# :return: The input points of the problem.
55+
# :rtype: dict
56+
# """
57+
# to_return = {}
58+
# for cond_name, data in self.collected_data.items():
59+
# to_return[cond_name] = data["input"]
60+
# return to_return
6161

6262
@property
6363
def discretised_domains(self):

0 commit comments

Comments
 (0)