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

Fix closures #296

Closed
Closed

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).

Activity

  1. ChrisRackauckas-Claude commented on Mar 24, 2026

    @ChrisRackauckas-Claude
    Member

    Triage: DiffEqBase now uses FastClosures.@closure throughout, and the specific files/code referenced in this issue have been extensively reworked. Recommend closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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