Skip to content

Commit

Permalink
Add depwarn for PointJacobian change.
Browse files Browse the repository at this point in the history
  • Loading branch information
tkoolen committed Aug 3, 2018
1 parent 163aa89 commit 45f6d4a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/spatial/spatialmotion.jl
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ struct PointJacobian{M <: AbstractMatrix}
J::M
end

Base.@deprecate PointJacobian{M}(J::M, frame::CartesianFrame3D) where {M<:AbstractMatrix} PointJacobian(frame, J)
Base.@deprecate PointJacobian(J::AbstractMatrix, frame::CartesianFrame3D) PointJacobian(frame, J)

Base.Array(Jp::PointJacobian) = Matrix(Jp.J)

function point_velocity(Jp::PointJacobian, v::AbstractVector)
Expand Down

0 comments on commit 45f6d4a

Please sign in to comment.