We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e0674d commit f1ea463Copy full SHA for f1ea463
adaptive/learner/learner1D.py
@@ -654,7 +654,8 @@ def _get_data(self):
654
return self.data
655
656
def _set_data(self, data):
657
- self.tell_many(*zip(*data.items()))
+ if data:
658
+ self.tell_many(*zip(*data.items()))
659
660
661
def _fix_deepcopy(sorted_dict, x_scale):
adaptive/learner/learnerND.py
@@ -770,7 +770,8 @@ def _get_data(self):
770
771
772
773
774
775
776
def _get_iso(self, level=0.0, which='surface'):
777
if which == 'surface':
0 commit comments