Skip to content

Commit

Permalink
maybe
Browse files Browse the repository at this point in the history
  • Loading branch information
eisenhauer committed Nov 4, 2024
1 parent 1f6a3a6 commit 00dd2ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/adios2/toolkit/format/bp5/BP5Helper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@ BP5Helper::BuildFixedNodeContrib(const digest attrHash, const size_t attrSize,
NC->MMBCount = MMBlocks.size();
for (size_t i = 0; i < FIXED_MMB_SLOT_COUNT; i++)
{
auto MM = &MMBlocks[i];
if (i < MMBlocks.size())
{
auto MM = &MMBlocks[i];
std::memcpy(&NC->MMBArray[i].x[0], MM->MetaMetaID, MM->MetaMetaIDLen);
size_t AlignedSize = ((MM->MetaMetaInfoLen + 7) & ~0x7);
NC->MMBSizeArray[i] = AlignedSize;
Expand Down Expand Up @@ -402,7 +402,7 @@ void BP5Helper::BP5AggregateInformation(helper::Comm &mpiComm,
std::vector<size_t> AttrSize;
std::vector<size_t> MMBSizes;
std::vector<digest> MMBIDs;
std::cout << "Agg info d " << attrLen << std::endl;
std::cout << "Agg info d, metaencodesize " << MetaEncodeSize.size() << std::endl;
auto myFixedContrib = BuildFixedNodeContrib(attrHash, attrLen, NewMetaMetaBlocks,
MetaEncodeSize[0], WriterDataPositions);
std::cout << "Agg info e " << attrLen << std::endl;
Expand Down

0 comments on commit 00dd2ee

Please sign in to comment.