We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99f869e commit 710c777Copy full SHA for 710c777
pina/problem/abstract_problem.py
@@ -57,9 +57,11 @@ def batching_dimension(self, value):
57
@property
58
def input_pts(self):
59
to_return = {}
60
- for k, v in self.collector.data_collections.items():
61
- if 'input_points' in v.keys():
62
- to_return[k] = v['input_points']
+ for cond_name, cond in self.conditions.items():
+ if hasattr(cond, "input_points"):
+ to_return[cond_name] = cond.input_points
63
+ elif hasattr(cond, "domain"):
64
+ to_return[cond_name] = self.discretised_domains[cond.domain]
65
return to_return
66
67
def __deepcopy__(self, memo):
0 commit comments