diff --git a/src/library.cpp b/src/library.cpp index 29e00d211d..be407c8bbc 100644 --- a/src/library.cpp +++ b/src/library.cpp @@ -159,9 +159,10 @@ void *lammps_extract_global(void *ptr, char *name) if (strcmp(name,"ntimestep") == 0) return (void *) &lmp->update->ntimestep; // NOTE: we cannot give access to the thermo "time" data by reference, - // as that is a recomputed property. only "atime" can be provided as pointer. + // as that is a recomputed property. Only "atime" can be provided as pointer. // please use lammps_get_thermo() defined below to access all supported - // thermo keywords by value + // thermo keywords by value. + if (strcmp(name,"atime") == 0) return (void *) &lmp->update->atime; return NULL;