Skip to content
This repository was archived by the owner on Apr 21, 2026. It is now read-only.
This repository was archived by the owner on Apr 21, 2026. It is now read-only.

Fix closures #296

@devmotion

Description

@devmotion

In line with SciML/DelayDiffEq.jl#130, we should also fix all closures in DiffEqBase (and possibly other JuliaDiffEq packages) that access closed over variables since apparently it's behaviour is undefined. This issue appears, e.g., in the constructor of DiffEqFunctions (https://github.com/JuliaDiffEq/DiffEqBase.jl/blob/master/src/diffeqfunction.jl#L269 and similar lines) and in the root finding of callbacks (lines such as https://github.com/JuliaDiffEq/DiffEqBase.jl/blob/master/src/callbacks.jl#L417-L420).

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