Skip to content

addlogprob tests seem oddly incomplete #1066

@penelopeysm

Description

@penelopeysm

This model is defined but there aren't any tests after it, so maybe a typo / bad merge resolution?

@model function testmodel_nt2()
global lp_before = getlogjoint(__varinfo__)
llh_nt = (; loglikelihood=42)
@addlogprob! llh_nt
return global lp_after = getlogjoint(__varinfo__)
end
end

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