Default moment
for CustomDist
provided with a dist
function
#6873
23.07% of diff hit (target 50.00%)
View this Pull Request on Codecov
23.07% of diff hit (target 50.00%)
Annotations
Check warning on line 91 in pymc/distributions/distribution.py
codecov / codecov/patch
pymc/distributions/distribution.py#L90-L91
Added lines #L90 - L91 were not covered by tests
Check warning on line 94 in pymc/distributions/distribution.py
codecov / codecov/patch
pymc/distributions/distribution.py#L93-L94
Added lines #L93 - L94 were not covered by tests
Check warning on line 96 in pymc/distributions/distribution.py
codecov / codecov/patch
pymc/distributions/distribution.py#L96
Added line #L96 was not covered by tests
Check warning on line 99 in pymc/distributions/distribution.py
codecov / codecov/patch
pymc/distributions/distribution.py#L98-L99
Added lines #L98 - L99 were not covered by tests
Check warning on line 102 in pymc/distributions/distribution.py
codecov / codecov/patch
pymc/distributions/distribution.py#L101-L102
Added lines #L101 - L102 were not covered by tests
Check warning on line 110 in pymc/distributions/distribution.py
codecov / codecov/patch
pymc/distributions/distribution.py#L105-L110
Added lines #L105 - L110 were not covered by tests
Check warning on line 113 in pymc/distributions/distribution.py
codecov / codecov/patch
pymc/distributions/distribution.py#L112-L113
Added lines #L112 - L113 were not covered by tests
Check warning on line 115 in pymc/distributions/distribution.py
codecov / codecov/patch
pymc/distributions/distribution.py#L115
Added line #L115 was not covered by tests
Check warning on line 126 in pymc/distributions/distribution.py
codecov / codecov/patch
pymc/distributions/distribution.py#L125-L126
Added lines #L125 - L126 were not covered by tests
Check warning on line 129 in pymc/distributions/distribution.py
codecov / codecov/patch
pymc/distributions/distribution.py#L129
Added line #L129 was not covered by tests
Check warning on line 138 in pymc/distributions/distribution.py
codecov / codecov/patch
pymc/distributions/distribution.py#L132-L138
Added lines #L132 - L138 were not covered by tests
Check warning on line 662 in pymc/distributions/distribution.py
codecov / codecov/patch
pymc/distributions/distribution.py#L661-L662
Added lines #L661 - L662 were not covered by tests
Check warning on line 666 in pymc/distributions/distribution.py
codecov / codecov/patch
pymc/distributions/distribution.py#L664-L666
Added lines #L664 - L666 were not covered by tests
Check warning on line 670 in pymc/distributions/distribution.py
codecov / codecov/patch
pymc/distributions/distribution.py#L668-L670
Added lines #L668 - L670 were not covered by tests
Check warning on line 749 in pymc/distributions/distribution.py
codecov / codecov/patch
pymc/distributions/distribution.py#L749
Added line #L749 was not covered by tests
Check warning on line 753 in pymc/distributions/distribution.py
codecov / codecov/patch
pymc/distributions/distribution.py#L751-L753
Added lines #L751 - L753 were not covered by tests