Skip to content

Commit

Permalink
Add tensor diff tests
Browse files Browse the repository at this point in the history
  • Loading branch information
janbruedigam committed Oct 16, 2020
1 parent 1ac5ed1 commit 891fa9a
Show file tree
Hide file tree
Showing 3 changed files with 82 additions and 403 deletions.
2 changes: 1 addition & 1 deletion src/joints/rotational.jl
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ end
end


# vec(G) Jacobian (also NOT accounting for quaternion specialness)
# vec(G) Jacobian (also NOT accounting for quaternion specialness in the second derivative: ∂(∂ʳg∂posx)∂y)

@inline function ∂2g∂posaa(joint::Rotational{T}, xa::AbstractVector, qa::UnitQuaternion, xb::AbstractVector, qb::UnitQuaternion) where T
XX = szeros(T, 9, 3)
Expand Down
6 changes: 3 additions & 3 deletions test/diff/diff_test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ end
include("joint_test.jl")
end

# @safetestset "Joint Diff Tensor Tests" begin
# include("tensor_test.jl")
# end
@safetestset "Joint Diff Tensor Tests" begin
include("tensor_test.jl")
end
Loading

0 comments on commit 891fa9a

Please sign in to comment.