From 58eeab5ac599b9b810bc97d8a9fad6047d8cb5ec Mon Sep 17 00:00:00 2001 From: Daniele Rapetti Date: Tue, 7 Nov 2023 14:25:57 +0100 Subject: [PATCH] corrected plumed_merror usage in NL --- src/tools/NeighborList.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tools/NeighborList.cpp b/src/tools/NeighborList.cpp index 51ed9b71ac..58fba82a6c 100644 --- a/src/tools/NeighborList.cpp +++ b/src/tools/NeighborList.cpp @@ -107,8 +107,8 @@ void NeighborList::initialize() { //each pairIDs occupies 64 bit (where unsigned are 32bit integers) //4294967296 is max(uint32)+1 and is more than 34 GB (correspond to a system of 65536 atoms) if(nallpairs_ > 1296000000 ) - plumed_merror() << "An error happened while allocating the neighbor " - "list, please decrease the number of atoms used"; + plumed_merror("An error happened while allocating the neighbor " + "list, please decrease the number of atoms used"); } #endif // __APPLE__ try {