This commit is contained in:
Axel Kohlmeyer
2020-08-09 14:55:11 -04:00
parent 6e9bf8709e
commit 548e108695

View File

@ -265,11 +265,11 @@ void FixTempBerendsen::write_restart(FILE *fp)
void FixTempBerendsen::restart(char *buf) void FixTempBerendsen::restart(char *buf)
{ {
int n = 0;
double *list = (double *) buf; double *list = (double *) buf;
energy = list[n++]; energy = list[0];
} }
/* ---------------------------------------------------------------------- /* ----------------------------------------------------------------------
extract thermostat properties extract thermostat properties
------------------------------------------------------------------------- */ ------------------------------------------------------------------------- */