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 d10cca7 commit 6d29c79Copy full SHA for 6d29c79
pymc/distributions/distribution.py
@@ -368,6 +368,8 @@ def __init__(
368
kwargs.setdefault("inline", True)
369
kwargs.setdefault("strict", True)
370
kwargs.setdefault("on_unused_input", "ignore")
371
+ if hasattr(self, "name"):
372
+ kwargs.setdefault("name", self.name)
373
super().__init__(*args, **kwargs)
374
375
def update(self, node: Apply) -> dict[Variable, Variable]:
0 commit comments