Skip to content

Commit 3ad2b4f

Browse files
committed
a compiling error
1 parent 98707e1 commit 3ad2b4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shared/particle_dynamics/general_dynamics/general_constraint.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class MotionConstraint : public BaseLocalDynamics<DynamicsIdentifier>, public Ge
7272
: BaseLocalDynamics<DynamicsIdentifier>(identifier),
7373
GeneralDataDelegateSimple(identifier.getSPHBody()),
7474
pos_(this->particles_->pos_),
75-
pos0_(*this->particles_->registerSharedVariable<Vecd>(
75+
pos0_(*this->particles_->template registerSharedVariable<Vecd>(
7676
"InitialPosition", [&](size_t index_i)
7777
{ return pos_[index_i]; })),
7878
vel_(this->particles_->vel_){};

0 commit comments

Comments
 (0)