Skip to content

FiniteDiff: support Bool array #32

@johnnychen94

Description

@johnnychen94

Just need to eagerly promote the array to float types

julia> ImageBase.FiniteDiff.fdiff(rand(Bool, 4, 4), dims=1)
ERROR: InexactError: Bool(-1)

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