Unverified Commit 8468f4ab authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

fix missing comparison and thus reduce memory use in serial case

parent a4380a54
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -238,7 +238,7 @@ void FixNEB::init()

  if (atom->nmax > maxlocal) reallocate();

  if (MULTI_PROC && counts == NULL) {
  if ((cmode == MULTI_PROC) && (counts == NULL)) {
    memory->create(xsendall,ntotal,3,"neb:xsendall");
    memory->create(xrecvall,ntotal,3,"neb:xrecvall");
    memory->create(fsendall,ntotal,3,"neb:fsendall");