Skip to content

UndefVarError in OptimizationForwardDiffExt.jl #48

Closed
@fjebaker

Description

@fjebaker

Every so often I hit

ERROR: UndefVarError: `x` not defined.

Unfortunately my code is too large to boil down to a MWE, but the cause is clear:

gradcfg = ForwardDiff.GradientConfig(_f, x, ForwardDiff.Chunk{chunksize}())

Expected behavior

x should be defined

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions