Skip to content

Commit

Permalink
Fix seg fault in active forces with constraints
Browse files Browse the repository at this point in the history
  • Loading branch information
joaander committed Aug 2, 2021
1 parent b5afc1a commit b93105d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hoomd/md/ActiveForceConstraintComputeGPU.h
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ ActiveForceConstraintComputeGPU<Manifold>::ActiveForceConstraintComputeGPU(
new Autotuner(valid_params, 5, 100000, "active_constraint_force", this->m_exec_conf));
m_tuner_diffusion.reset(
new Autotuner(valid_params, 5, 100000, "active_constraint_diffusion", this->m_exec_conf));
m_tuner_constraint.reset(
new Autotuner(valid_params, 5, 100000, "active_constraint_constraint", this->m_exec_conf));

unsigned int type = this->m_pdata->getNTypes();
GlobalVector<Scalar4> tmp_f_activeVec(type, this->m_exec_conf);
Expand Down

0 comments on commit b93105d

Please sign in to comment.