Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jngrad authored and fweik committed Oct 18, 2019
1 parent 9259bb4 commit e2945b3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/core/Particle.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ struct ParticleProperties {
constexpr static double mass{1.0};
#endif /* MASS */

#ifdef ROTATIONAL_INERTIA
/** rotational inertia */
#ifdef ROTATIONAL_INERTIA
Utils::Vector3d rinertia = {1., 1., 1.};
#else
static constexpr Utils::Vector3d rinertia = {1., 1., 1.};
Expand Down Expand Up @@ -118,7 +118,7 @@ struct ParticleProperties {
} vs_relative;
#endif
#else /* VIRTUAL_SITES */
static constexpr const bool is_virtual = false;
static constexpr bool is_virtual = false;
#endif /* VIRTUAL_SITES */

#ifdef LANGEVIN_PER_PARTICLE
Expand Down
2 changes: 1 addition & 1 deletion src/core/particle_data.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ using UpdatePropertyMessage = boost::variant
, UpdateProperty<double, &Prop::gamma_rot>
#else
, UpdateProperty<Utils::Vector3d, &Prop::gamma_rot>
#endif // ROTATIONAL_INERTIA
#endif // PARTICLE_ANISOTROPY
#endif // ROTATION
#endif // LANGEVIN_PER_PARTICLE
#ifdef EXTERNAL_FORCES
Expand Down

0 comments on commit e2945b3

Please sign in to comment.