Skip to content

setindex!! fails for ReverseDiff.jl in certain scenarios #24

@torfjelde

Description

@torfjelde

It seems the specializations introduced in #22 didn't quite solve the issues of "incorrect" hits to immutable setindex!.

Atm it's a bit unclear to me if this is a BangBang.jl issue or if it's a ReverseDiff.jl issue. Specifically, is setindex! supposed to be allowed for promote_type or whenever convert is available. Posting here for now.

Ref: TuringLang/DynamicPPL.jl#612

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