Skip to content

Commit 6108eb4

Browse files
ricardoV94markgreene74Hemant19870601
committed
Move CustomDist code to its own module
Co-authored-by: Giuseppe Cunsolo <[email protected]> Co-authored-by: [email protected] Co-authored-by: "Hemant19870601" <[email protected]>
1 parent c9f7db5 commit 6108eb4

File tree

8 files changed

+1507
-1437
lines changed

8 files changed

+1507
-1437
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ jobs:
6868
6969
- |
7070
tests/distributions/test_censored.py
71+
tests/distributions/test_custom.py
7172
tests/distributions/test_simulator.py
7273
tests/sampling/test_deterministic.py
7374
tests/sampling/test_forward.py

pymc/distributions/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
Wald,
5151
Weibull,
5252
)
53+
from pymc.distributions.custom import CustomDist, DensityDist
5354
from pymc.distributions.discrete import (
5455
Bernoulli,
5556
BetaBinomial,
@@ -66,8 +67,6 @@
6667
)
6768
from pymc.distributions.distribution import (
6869
Continuous,
69-
CustomDist,
70-
DensityDist,
7170
DiracDelta,
7271
Discrete,
7372
Distribution,

0 commit comments

Comments
 (0)