Skip to content

Commit

Permalink
fix compilation (cuda with distancegrid)
Browse files Browse the repository at this point in the history
  • Loading branch information
fredroy authored and hugtalbot committed Mar 5, 2025
1 parent d22e596 commit 4ece5b0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ class sofa::component::collision::response::mapper::ContactMapper<sofa::gpu::cud
{
MCollisionModel* model = this->model;
MMechanicalState* outmodel = this->outmodel.get();
Data<VecCoord>* d_x = outmodel->write(core::VecCoordId::position());
Data<VecCoord>* d_x = outmodel->write(sofa::core::vec_id::write_access::position);
VecDeriv& vx = *d_x->beginEdit();
Data<VecDeriv>* d_v = outmodel->write(core::VecDerivId::velocity());
Data<VecDeriv>* d_v = outmodel->write(sofa::core::vec_id::write_access::velocity);
VecCoord& vv = *d_v->beginEdit();

typename DataTypes::Coord& x = vx[i];
Expand Down

0 comments on commit 4ece5b0

Please sign in to comment.