commit
abe64cfe8f
@ -81,8 +81,7 @@ class LabeledComponents(Components):
|
|||||||
self._components = Parameter(
|
self._components = Parameter(
|
||||||
initializer.generate(number_of_components, self.distribution))
|
initializer.generate(number_of_components, self.distribution))
|
||||||
else:
|
else:
|
||||||
super()._initialize_components(self, number_of_components,
|
super()._initialize_components(number_of_components, initializer)
|
||||||
initializer)
|
|
||||||
|
|
||||||
def _initialize_labels(self, distribution):
|
def _initialize_labels(self, distribution):
|
||||||
if type(distribution) == tuple:
|
if type(distribution) == tuple:
|
||||||
|
Loading…
Reference in New Issue
Block a user