Fixed minor issue with NPT conserved energy
authorMark Abraham <mark.j.abraham@gmail.com>
Sat, 20 Sep 2014 10:48:41 +0000 (12:48 +0200)
committerMark Abraham <mark.j.abraham@gmail.com>
Thu, 9 Oct 2014 14:28:31 +0000 (16:28 +0200)
The value of the number of degrees of freedom in a group is a real,
but it was being truncated to an integer before promoting it back to a
real. This is wrong, whether or not the number can reasonably be
non-integral. This only affected the conserved energy quantity,
not the kinetic or total energy used for coupling and output.

Change-Id: I5fcb6428dc0e333cabd79262cc2a9cffa5fec03a


No differences found