Skip to content

Commit

Permalink
Fix initialization for dynamics expansion
Browse files Browse the repository at this point in the history
  • Loading branch information
bjack205 committed Oct 25, 2021
1 parent f2370cd commit df6e1fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "TrajectoryOptimization"
uuid = "c79d492b-0548-5874-b488-5a62c1d9d0ca"
version = "0.5.0"
version = "0.5.1"

[deps]
DocStringExtensions = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae"
Expand Down
2 changes: 1 addition & 1 deletion src/expansions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ struct DynamicsExpansion{T,N,N̄,M}
fux = view(∇²f, iu, ix)
tmpA = SizedMatrix{n0,n0}(zeros(n0,n0))
tmpB = SizedMatrix{n0,m}(zeros(n0,m))
tmp = zeros(n0,n)
tmp = SizedMatrix{n0,n}(zeros(n0,n))
new{T,n0,n,m}(∇f,∇²f,A_,B_,A,B,fxx,fuu,fux,tmpA,tmpB,tmp)
end
function DynamicsExpansion{T}(n::Int, m::Int) where T
Expand Down

0 comments on commit df6e1fb

Please sign in to comment.