Skip to content

Commit fb11a0d

Browse files
committed
Fix getPointType of Position{N}
1 parent ad00c3b commit fb11a0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Variables/DefaultVariables.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ DFG.getManifold(::InstanceType{Position{N}}) where {N} = TranslationGroup(N)
1515
function DFG.getDimension(val::InstanceType{Position{N}}) where {N}
1616
return manifold_dimension(getManifold(val))
1717
end
18-
DFG.getPointType(::Type{Position{N}}) where {N} = Vector{Float64}
18+
DFG.getPointType(::Type{Position{N}}) where {N} = SVector{N, Float64}
1919
DFG.getPointIdentity(M_::Type{Position{N}}) where {N} = @SVector(zeros(N)) # identity_element(getManifold(M_), zeros(N))
2020

2121
function Base.convert(

0 commit comments

Comments
 (0)