From f2df962682b923c2550cd5f828de02697299b38b Mon Sep 17 00:00:00 2001 From: David van der Spoel Date: Tue, 6 Jul 2010 19:34:07 +0200 Subject: [PATCH] Fixed bug in gmx_sumf_comm where a double array was passed to an MPI function expecting a float array. --- src/gmxlib/network.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gmxlib/network.c b/src/gmxlib/network.c index d932554636..6fb67e57cc 100644 --- a/src/gmxlib/network.c +++ b/src/gmxlib/network.c @@ -588,7 +588,7 @@ void gmx_sumf_comm(int nr,float r[],MPI_Comm mpi_comm) /* this function is only used in code that is not performance critical, (during setup, when comm_rec is not the appropriate communication structure), so this isn't as bad as it looks. */ - double *buf; + float *buf; int i; snew(buf, nr); -- 2.11.4.GIT