We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44557fa commit 2be5fbaCopy full SHA for 2be5fba
pymc3/variational/approximations.py
@@ -457,7 +457,7 @@ def _check_user_params(self, **kwargs):
457
458
@property
459
def shared_params(self):
460
- if self.user_params is None:
+ if self.user_params is not None:
461
return None
462
params = dict()
463
current = self.flow
@@ -471,7 +471,7 @@ def shared_params(self):
471
472
@shared_params.setter
473
def shared_params(self, value):
474
475
raise AttributeError('Cannot set when having user params')
476
477
i = 0
0 commit comments