git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@3674 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp
2010-01-13 20:55:06 +00:00
parent 363e6c371f
commit 1dbad849b7
7 changed files with 39 additions and 29 deletions

View File

@ -172,7 +172,7 @@ double ComputePressure::compute_scalar()
double t;
if (keflag) {
if (temperature->invoked_scalar == update->ntimestep)
if (temperature->invoked_scalar != update->ntimestep)
t = temperature->compute_scalar();
else t = temperature->scalar;
}
@ -209,7 +209,7 @@ void ComputePressure::compute_vector()
if (update->vflag_global != invoked_vector)
error->all("Virial was not tallied on needed timestep");
// invoke temperature it it hasn't been already
// invoke temperature if it hasn't been already
double *ke_tensor;
if (keflag) {