Skip to content

random method fails when calling creating dist without context #2200

Closed
@ferrine

Description

@ferrine

minimal example that fails on master pm.Exponential.dist(lam=4).random()
I think that is related to #2103

with pm.Model():  # good
    pm.Exponential.dist(lam=4).random()
pm.Exponential.dist(lam=4).random()  # bad

CC @aseyboldt

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions