Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Mar 18, 2024
1 parent 7865e61 commit b6c4458
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hoomd/hpmc/PairPotentialAngularStep.cc
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ void PairPotentialAngularStep::setMask(std::string particle_type, pybind11::obje
director_python[2].cast<LongReal>());

// normalize the directional vector
m_directors[particle_type_id][i] /= fast::sqrt(dot(m_directors[particle_type_id][i],
m_directors[particle_type_id][i]));
m_directors[particle_type_id][i]
/= fast::sqrt(dot(m_directors[particle_type_id][i], m_directors[particle_type_id][i]));

pybind11::handle delta_python = deltas[i];
m_cos_deltas[particle_type_id][i] = cos(delta_python.cast<LongReal>());
Expand Down

0 comments on commit b6c4458

Please sign in to comment.