Skip to content

Implement negation on StructuralTangents #669

Description

@oxinabox

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

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

Activity

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

    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