Skip to content

Inf is treated as variable rather than data #15

@xukai92

Description

@xukai92

In the MWE below, Inf is treated as a variable rather than the literal Inf.

using Turing

@model mwe() = begin
    m ~ Normal(0, 1)
    Inf ~ Normal(m, 1)
end

sample(mwe(), HMC(0.1, 2), 100)

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