Skip to content

Commit

Permalink
corrected plumed_merror usage in NL
Browse files Browse the repository at this point in the history
  • Loading branch information
Iximiel committed Nov 7, 2023
1 parent f551b9f commit 58eeab5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tools/NeighborList.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 58eeab5

Please sign in to comment.