Skip to content

Commit

Permalink
Rename and comment on non-zero skew.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Zickel committed May 29, 2024
1 parent cb0541a commit 6fe22b2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/distributions/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -502,6 +502,13 @@ def __init__(self, von_loc, von_conc, skewness):
pyro_dist=dist.Stable,
scipy_dist=sp.levy_stable,
examples=[
# Skew is zero as the default parameterization of the scipy
# implementation is S and cannot be changed via initizalization
# arguments (pyro's default parameterization is S0 which
# gives different results with non-zero skew).
# Testing with non-zero skew is done in
# tests.distributions.test_stable_log_prob and
# tests.distributions.test_stable
{"stability": [1.5], "skew": 0.0, "test_data": [-10.0]},
{
"stability": [1.5, 0.5],
Expand Down
File renamed without changes.

0 comments on commit 6fe22b2

Please sign in to comment.