Skip to content

ENH: extending equivalent non-overlapping switch logp forms #8049

@eclipse1605

Description

@eclipse1605

Extend the current measurable rewrite/logp to accept logically equivalent spellings such as switch(x <= 0, a * x, x) and swapped comparisons (0 < x, 0 <= x). Users shouldn’t need to guess a single canonical syntax to get logp support.

Related to: #7543

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions