Skip to content

Rename var -> variance for truncated distributions and close support.#2210

Merged
juanitorduz merged 1 commit into
pyro-ppl:masterfrom
tillahoffmann:truncated-variance
Jul 1, 2026
Merged

Rename var -> variance for truncated distributions and close support.#2210
juanitorduz merged 1 commit into
pyro-ppl:masterfrom
tillahoffmann:truncated-variance

Conversation

@tillahoffmann

Copy link
Copy Markdown
Collaborator
  • Rename var to variance for truncated distributions to match the base Distribution naming.
  • Close the support for left/right truncated distribution to match the two-sided closed interval and other distributions with finite support, e.g., uniform, beta, etc.
  • Include truncated distributions in mean/variance tests.
  • Make mean/variance tests robust to NotImplementedErrors similar to other tests.

@tillahoffmann tillahoffmann added the bug Something isn't working label Jul 1, 2026
@juanitorduz juanitorduz merged commit ff59238 into pyro-ppl:master Jul 1, 2026
9 checks passed
@juanitorduz

Copy link
Copy Markdown
Collaborator

thanks @tillahoffmann :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants