Skip to content

Implement negation on StructuralTangents #669

Open
@oxinabox

Description

@oxinabox

I was sure we had this already, but it seems not.

Implementation should be simple
Base.:-(t::StructuralTangent) = map(-, t)
plus tests

Metadata

Metadata

Assignees

No one assigned

    Labels

    Structural TangentRelated to the `Tangent` type for structured (composite) valuesgood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions