Skip to content

Commit 829f9a4

Browse files
authored
Update CudaRigidMapping.inl
1 parent 61982b7 commit 829f9a4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • applications/plugins/SofaCUDA/Component/src/SofaCUDA/component/mapping/nonlinear

applications/plugins/SofaCUDA/Component/src/SofaCUDA/component/mapping/nonlinear/CudaRigidMapping.inl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ void RigidMapping<defaulttype::Rigid3Types, gpu::cuda::CudaVec3Types>::apply( co
114114
const InVecCoord& in = dIn.getValue();
115115

116116
const auto& points = this->d_points.getValue();
117-
type::Vec3d translation;
117+
type::Vec3 translation;
118118
sofa::type::Mat<3,3, defaulttype::Rigid3Types::Real> rotation;
119119
m_rotatedPoints.resize(points.size());
120120
out.recreate(points.size());

0 commit comments

Comments
 (0)