Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
RudolfWeeber committed Jan 7, 2019
1 parent a44d372 commit 22a5eea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/gb.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,8 @@ inline double gb_pair_energy(const Particle *p1, const Particle *p2,
Vector3d r = Vector3d{{d[0], d[1], d[2]}};
r.normalize();

auto const ui = Vector3d{{p1->r.quatu[0],p1->r.quatu[1],p1->r.quatu[2]}};
auto const uj = Vector3d{{p2->r.quatu[0],p2->r.quatu[1],p2->r.quatu[2]}};
auto const ui = Vector3d{{p1->r.quatu[0], p1->r.quatu[1], p1->r.quatu[2]}};
auto const uj = Vector3d{{p2->r.quatu[0], p2->r.quatu[1], p2->r.quatu[2]}};
auto const uij = ui * uj;
auto const rui = r * ui;
auto const ruj = r * uj;
Expand Down

0 comments on commit 22a5eea

Please sign in to comment.