Unverified Commit 548e1086 authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

simplify

parent 6e9bf870
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -265,11 +265,11 @@ void FixTempBerendsen::write_restart(FILE *fp)

void FixTempBerendsen::restart(char *buf)
{
  int n = 0;
  double *list = (double *) buf;

  energy = list[n++];
  energy = list[0];
}

/* ----------------------------------------------------------------------
   extract thermostat properties
------------------------------------------------------------------------- */