We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad00c3b commit fb11a0dCopy full SHA for fb11a0d
src/Variables/DefaultVariables.jl
@@ -15,7 +15,7 @@ DFG.getManifold(::InstanceType{Position{N}}) where {N} = TranslationGroup(N)
15
function DFG.getDimension(val::InstanceType{Position{N}}) where {N}
16
return manifold_dimension(getManifold(val))
17
end
18
-DFG.getPointType(::Type{Position{N}}) where {N} = Vector{Float64}
+DFG.getPointType(::Type{Position{N}}) where {N} = SVector{N, Float64}
19
DFG.getPointIdentity(M_::Type{Position{N}}) where {N} = @SVector(zeros(N)) # identity_element(getManifold(M_), zeros(N))
20
21
function Base.convert(
0 commit comments