Commit b0004bfd authored by jguenole's avatar jguenole
Browse files

minor opt.: check for nb build

parent 98868cd6
Loading
Loading
Loading
Loading
+1 −2
Changes for src/min_adaptglok.cpp: 1 added line, 2 removed lines.
Original line number Diff line number Diff line
@@ -151,12 +151,11 @@ void MinAdaptGlok::relax_box()
  int nlocal = atom->nlocal;

  domain->pbc();
  domain->reset_box();
  save_box_state();
  neighbor->setup_bins();
  comm->exchange();
  comm->borders();
  neighbor->build(1);
  if (neighbor->check_distance()) neighbor->build(1);

  // ensure the virial is tallied, update the flag
  pressure->addstep(update->ntimestep);