DistributedFactorGraphs.jl
DistributedFactorGraphs.jl copied to clipboard
Softtype as an instance or a type, T vs T()
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.