From 21364f38b0b8fe26a8d96b26bb4c3c8c6fa39a96 Mon Sep 17 00:00:00 2001
From: jrgissing <jrgiss05@gmail.com>
Date: Thu, 1 Mar 2018 23:11:46 -0700
Subject: [PATCH] gatherv fix, take 2

---
 src/USER-MISC/fix_bond_react.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/USER-MISC/fix_bond_react.cpp b/src/USER-MISC/fix_bond_react.cpp
index 490d491191..4c16a200da 100644
--- a/src/USER-MISC/fix_bond_react.cpp
+++ b/src/USER-MISC/fix_bond_react.cpp
@@ -1732,7 +1732,7 @@ void FixBondReact::ghost_glovecast()
   int starts[2]   = {0,0};
   MPI_Type_create_subarray (2, sizes, subsizes, starts, MPI_ORDER_C,
                             MPI_LMP_TAGINT, &columnunsized);
-  MPI_Type_create_resized (columnunsized, 0, sizeof(MPI_LMP_TAGINT), &column);
+  MPI_Type_create_resized (columnunsized, 0, sizeof(tagint), &column);
   MPI_Type_commit(&column);
 
   if (ghostcheck_flag == 1) memory->destroy(global_mega_glove);
-- 
GitLab