From 2f936d5e564bf170377d188bbf415288094a50cf Mon Sep 17 00:00:00 2001 From: sjplimp Date: Fri, 22 Jul 2016 22:57:39 +0000 Subject: [PATCH] git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@15357 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- src/library.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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;