diff --git a/src/Particle/ParticleSetT.cpp b/src/Particle/ParticleSetT.cpp index 0f51ace986c..760c8ba0050 100644 --- a/src/Particle/ParticleSetT.cpp +++ b/src/Particle/ParticleSetT.cpp @@ -1246,7 +1246,7 @@ void ParticleSetT::applyBC(ParticlePos& pos) } template -void ParticleSetT::applyMinimumImage(ParticlePos& pinout) +void ParticleSetT::applyMinimumImage(ParticlePos& pinout) const { if (getLattice().SuperCellEnum == SUPERCELL_OPEN) return;