From cf9054f3ffd7354bbcea5dce56857791d0786c93 Mon Sep 17 00:00:00 2001 From: athomps Date: Thu, 20 Jun 2013 14:41:46 +0000 Subject: [PATCH] fixed bug for Tp_BIAS git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@10091 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- src/fix_langevin.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/fix_langevin.cpp b/src/fix_langevin.cpp index af92b9c9e4..5035e0b826 100644 --- a/src/fix_langevin.cpp +++ b/src/fix_langevin.cpp @@ -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]);