DistributedFactorGraphs.jl icon indicating copy to clipboard operation
DistributedFactorGraphs.jl copied to clipboard

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

Open Affie opened this issue 4 years ago • 6 comments

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.

Affie avatar Aug 08 '20 08:08 Affie