Merge pull request #3 from dmoebius-dm/dev

Removed wrong parameter.
This commit is contained in:
Jensun Ravichandran 2021-05-12 16:23:27 +02:00 committed by GitHub
commit abe64cfe8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: