Skip to content

Commit

Permalink
Work around JuliaLang/julia#20034.
Browse files Browse the repository at this point in the history
  • Loading branch information
tkoolen committed Jan 24, 2017
1 parent e1868bf commit d3caf94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/joint.jl
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function motion_subspace{M, X}(joint::Joint{M}, q::AbstractVector{X})::MotionSub
@rtti_dispatch (QuaternionFloating{M}, Revolute{M}, Prismatic{M}, Fixed{M}) _motion_subspace(joint.jointType, joint.frameAfter, joint.frameBefore, q)
end

function constraint_wrench_subspace{M, X}(joint::Joint{M}, q::AbstractVector{X})::WrenchSubspace{promote_type(M, X)}
function constraint_wrench_subspace{M, X}(joint::Joint{M}, q::AbstractVector{X})#::WrenchSubspace{promote_type(M, X)} # FIXME: type assertion causes segfault! see https://github.com/JuliaLang/julia/issues/20034. should be fixed in 0.6
@boundscheck check_num_positions(joint, q)
@rtti_dispatch (QuaternionFloating{M}, Revolute{M}, Prismatic{M}, Fixed{M}) _constraint_wrench_subspace(joint.jointType, joint.frameAfter, q)
end
Expand Down

0 comments on commit d3caf94

Please sign in to comment.