Skip to content

searchsortedfirst of dual returning wrong result #742

Closed
@oscardssmith

Description

@oscardssmith

This is presumably caused by ForwardDiff@1.0 and is causing test failures in SciML/DataInterpolations.jl#414

julia> searchsortedfirst([0.0, 1.0, 2.0, 3.0], 1.0)
2

julia> searchsortedfirst([0.0, 1.0, 2.0, 3.0], ForwardDiff.Dual(1.0, (1.0,)))
3

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