Skip to content

Commit 0d1ac6d

Browse files
committed
Fix type definition of marker buffer
1 parent 51a1a86 commit 0d1ac6d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

SU2_CFD/src/interfaces/cfd/CMixingPlaneInterface.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,11 @@ void CMixingPlaneInterface::BroadcastData_MixingPlane(const CInterpolator& inter
9292
/*--- Gather data. ---*/
9393
const auto nTotalDonors = nSpanDonor * size; // Number of donor spans across all ranks
9494
const auto nSpanDonorVars = nSpanDonor * nMixingVars; // Number of variables to be transferred on each rank
95-
vector<unsigned short> buffDonorMarker(nTotalDonors);
95+
vector<short> buffDonorMarker(nTotalDonors);
9696
vector<su2double> buffDonorVar(static_cast<unsigned long>(nTotalDonors) * nMixingVars); // Total number of variables to be transferred on all ranks
9797

98-
SU2_MPI::Allgather(sendDonorMarker.data(), nSpanDonor, MPI_UNSIGNED_SHORT,
99-
buffDonorMarker.data(), nSpanDonor, MPI_UNSIGNED_SHORT,
98+
SU2_MPI::Allgather(sendDonorMarker.data(), nSpanDonor, MPI_SHORT,
99+
buffDonorMarker.data(), nSpanDonor, MPI_SHORT,
100100
SU2_MPI::GetComm());
101101

102102
SU2_MPI::Allgather(sendDonorVar.data(), nSpanDonorVars, MPI_DOUBLE,

0 commit comments

Comments
 (0)