Skip to content

Reject negative plate sizes#3454

Draft
Mirochill wants to merge 1 commit into
pyro-ppl:devfrom
Mirochill:fix-3407-negative-plate-size
Draft

Reject negative plate sizes#3454
Mirochill wants to merge 1 commit into
pyro-ppl:devfrom
Mirochill:fix-3407-negative-plate-size

Conversation

@Mirochill

Copy link
Copy Markdown

Proposed changes

  • Raise a ValueError when pyro.plate receives an explicit negative size.
  • Add unit coverage for the negative-size case while leaving size=None unchanged.

Related issue

Fixes #3407

Tests

Not run locally.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request: Prohibit passing negative numbers to plate sizes

1 participant