[BUGFIX] Fix broken _precheck_initializer

This commit is contained in:
Jensun Ravichandran 2021-06-01 19:41:21 +02:00
parent b1568a550a
commit 70cf17607e

View File

@ -32,7 +32,7 @@ def get_labels_object(distribution):
return labels return labels
def _precheck_initializer(self, initializer): def _precheck_initializer(initializer):
if not isinstance(initializer, ComponentsInitializer): if not isinstance(initializer, ComponentsInitializer):
emsg = f"`initializer` has to be some subtype of " \ emsg = f"`initializer` has to be some subtype of " \
f"{ComponentsInitializer}. " \ f"{ComponentsInitializer}. " \