fixed bug for Tp_BIAS

git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@10091 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
athomps 2013-06-20 14:41:46 +00:00
parent e6d02199ba
commit cf9054f3ff
1 changed files with 2 additions and 0 deletions

View File

@ -513,6 +513,8 @@ void FixLangevin::post_force_untemplated
}
}
if (Tp_BIAS) temperature->compute_scalar();
for (int i = 0; i < nlocal; i++) {
if (mask[i] & groupbit) {
if (Tp_TSTYLEATOM) tsqrt = sqrt(tforce[i]);