Fixed recent bug with disp.corr. and vdwtype=shift
authorErik Lindahl <erik@kth.se>
Tue, 24 Jun 2014 08:32:10 +0000 (10:32 +0200)
committerErik Lindahl <erik@kth.se>
Tue, 24 Jun 2014 11:10:16 +0000 (13:10 +0200)
commit349d8056882bf48d7bf92d9cf58a7aed319fd1af
treec1bdc5f7558bbf71779f1b12bc7eb4baebcd466e
parent7a1e9a3bace1a882fc846cde90216343eddca66d
Fixed recent bug with disp.corr. and vdwtype=shift

The very recent commit dced970a introduced a small error
in the dispersion correction with vdwtype=shift.

Change-Id: I23c082ed190a5eda096504a23b277fb879c5feb4
src/mdlib/sim_util.c