Skip to content

Softtype as an instance or a type, T vs T() #577

Open
@Affie

Description

@Affie

Softtype is now a singleton type and to avoid confusion we have to decide whether it will be used as an instance or a type.
for example:
getManifolds(::Type{Pose2}) vs getManifolds(::Pose2)
For compatibility, I used an instance where @dehann used type getManifolds(vartype::Type{LinearConditional}) = (:Euclid,)

It doesn't seem to make a performance difference.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions