Skip to content

Commit

Permalink
Merge pull request #2445 from JasonRuonanWang/master
Browse files Browse the repository at this point in the history
SSC: use unordered_map instead of map
  • Loading branch information
JasonRuonanWang authored Aug 26, 2020
2 parents f6db88e + b4348db commit 3707834
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/adios2/engine/ssc/SscHelper.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
#include "adios2/common/ADIOSTypes.h"
#include "adios2/core/IO.h"
#include "nlohmann/json.hpp"
#include <map>
#include <mpi.h>
#include <unordered_map>
#include <vector>

namespace adios2
Expand All @@ -40,7 +40,7 @@ struct BlockInfo
};
using BlockVec = std::vector<BlockInfo>;
using BlockVecVec = std::vector<BlockVec>;
using RankPosMap = std::map<int, std::pair<size_t, size_t>>;
using RankPosMap = std::unordered_map<int, std::pair<size_t, size_t>>;
using MpiInfo = std::vector<std::vector<int>>;

void PrintDims(const Dims &dims, const std::string &label = std::string());
Expand Down

0 comments on commit 3707834

Please sign in to comment.