... | ... |
@@ -770,7 +770,8 @@ class LearnerND(BaseLearner): |
770 | 770 |
return self.data |
771 | 771 |
|
772 | 772 |
def _set_data(self, data): |
773 |
- self.tell_many(*zip(*data.items())) |
|
773 |
+ if data: |
|
774 |
+ self.tell_many(*zip(*data.items())) |
|
774 | 775 |
|
775 | 776 |
def _get_iso(self, level=0.0, which='surface'): |
776 | 777 |
if which == 'surface': |