Skip to content

Commit 4be4cdd

Browse files
committed
Convert default_priors property to class attribute
1 parent 3c659d3 commit 4be4cdd

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

causalpy/pymc_models.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,7 @@ class PyMCModel(pm.Model):
9191
Inference data...
9292
"""
9393

94-
@property
95-
def default_priors(self):
96-
return {}
94+
default_priors = {}
9795

9896
def priors_from_data(self, X, y) -> Dict[str, Any]:
9997
"""

docs/source/_static/interrogate_badge.svg

Lines changed: 3 additions & 3 deletions
Loading

0 commit comments

Comments
 (0)