From e2945b3a85b5291e39049cf39afdacd85541e23e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-No=C3=ABl=20Grad?= Date: Fri, 18 Oct 2019 19:42:25 +0200 Subject: [PATCH] Minor fixes --- src/core/Particle.hpp | 4 ++-- src/core/particle_data.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core/Particle.hpp b/src/core/Particle.hpp index 10eb844fdcf..74465f05093 100644 --- a/src/core/Particle.hpp +++ b/src/core/Particle.hpp @@ -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.}; @@ -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 diff --git a/src/core/particle_data.cpp b/src/core/particle_data.cpp index fd77c5d16cb..0f48c9b1192 100644 --- a/src/core/particle_data.cpp +++ b/src/core/particle_data.cpp @@ -168,7 +168,7 @@ using UpdatePropertyMessage = boost::variant , UpdateProperty #else , UpdateProperty -#endif // ROTATIONAL_INERTIA +#endif // PARTICLE_ANISOTROPY #endif // ROTATION #endif // LANGEVIN_PER_PARTICLE #ifdef EXTERNAL_FORCES