--- branches/development/src/parallel/ForceMatrixDecomposition.cpp 2011/12/14 20:24:39 1667 +++ branches/development/src/parallel/ForceMatrixDecomposition.cpp 2012/01/06 19:03:05 1668 @@ -1001,8 +1001,8 @@ namespace OpenMD { void ForceMatrixDecomposition::unpackInteractionData(InteractionData &idat, int atom1, int atom2) { #ifdef IS_MPI - pot_row[atom1] += 0.5 * *(idat.pot); - pot_col[atom2] += 0.5 * *(idat.pot); + pot_row[atom1] += RealType(0.5) * *(idat.pot); + pot_col[atom2] += RealType(0.5) * *(idat.pot); atomRowData.force[atom1] += *(idat.f1); atomColData.force[atom2] -= *(idat.f1);