[cig-commits] [commit] master: Bug fix (d4bdddc)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Wed Oct 8 17:05:39 PDT 2014


Repository : https://github.com/geodynamics/vc

On branch  : master
Link       : https://github.com/geodynamics/vc/compare/23464fca3efa2b6ad7ee0ce8f60c225b18b49741...e4325192ad1118379f46ba66899cb98143d09e04

>---------------------------------------------------------------

commit d4bdddc4adc406dec25cfe6db277a93daaa3a2f2
Author: Eric Heien <emheien at ucdavis.edu>
Date:   Wed Sep 24 16:30:52 2014 -0700

    Bug fix


>---------------------------------------------------------------

d4bdddc4adc406dec25cfe6db277a93daaa3a2f2
 src/core/VCComm.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/core/VCComm.cpp b/src/core/VCComm.cpp
index bc071b0..2660d2e 100644
--- a/src/core/VCComm.cpp
+++ b/src/core/VCComm.cpp
@@ -196,7 +196,7 @@ VCComm::VCComm(void) {
     block_lengths[2] = 1;
     displacements[0] = 0;
     displacements[1] = 5*sizeof(double);
-    displacements[1] = 5*sizeof(double)+sizeof(unsigned int);
+    displacements[2] = 5*sizeof(double)+sizeof(unsigned int);
     datatypes[0] = MPI_DOUBLE;
     datatypes[1] = MPI_UNSIGNED;
     datatypes[2] = MPI_INT;



More information about the CIG-COMMITS mailing list