Skip to content

canonicalize should fill in NoTangent()? #569

@vpuri3

Description

@vpuri3

Currently cacnonicalize fills in properties not present in the input tangent with ZeroTangent(). I would think if the package author has not added a field to Tangent{P}(...), then its tangent would not exist, like for traits and indices. And ZeroTangent() is used for cases where the tangent exists, but is vanishing.

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