From c3298e8188315af7db1ea98e2ca22741fba53b49 Mon Sep 17 00:00:00 2001 From: William F Godoy Date: Wed, 8 Nov 2023 20:44:12 -0500 Subject: [PATCH] Fix missing const --- src/Particle/ParticleSetT.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Particle/ParticleSetT.cpp b/src/Particle/ParticleSetT.cpp index 0f51ace986..760c8ba005 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;