Skip to content

Commit 9db9d27

Browse files
committed
Tweak to LieCost
1 parent a929d5d commit 9db9d27

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lie_costs.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ where `q_ref` is the reference quaternion (provided as a `SVector{4}`), and
3434
struct DiagonalQuatCost{N,M,T,N4} <: QuadraticCostFunction{N,M,T}
3535
Q::Diagonal{T,SVector{N,T}}
3636
R::Diagonal{T,SVector{M,T}}
37-
q::SVector{N,T}
38-
r::SVector{M,T}
37+
q::MVector{N,T}
38+
r::MVector{M,T}
3939
c::T
4040
w::T
4141
q_ref::SVector{4,T}

0 commit comments

Comments
 (0)