Skip to content

Warn on ±Inf in check_model #889

@penelopeysm

Description

@penelopeysm

#888 modifies the check_model function such that it errors if any NaN's are encountered on the left-hand side of a tilde statement.

This issue is to record the idea that there could be some kind of warning / info message for ±Inf as well. However, this would depend on whether it's reasonable to have Inf as a value; if Inf is actually in the support of the distribution on the right, then it would be fine.

Anyone implementing this would have to be careful about doing it correctly for multivariate distributions, especially product distributions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions