From b9e7cd4d1e163cc49b110bfe5cd9a0784c6d31fd Mon Sep 17 00:00:00 2001
From: Ruonan Wang <jason.ruonan.wang@gmail.com>
Date: Mon, 31 Jul 2017 12:14:11 -0400
Subject: [PATCH] changed vector<size_t> to Dims

---
 examples/heatTransfer/read/heatRead_adios2.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/examples/heatTransfer/read/heatRead_adios2.cpp b/examples/heatTransfer/read/heatRead_adios2.cpp
index 576e9d362..b74c0edfa 100644
--- a/examples/heatTransfer/read/heatRead_adios2.cpp
+++ b/examples/heatTransfer/read/heatRead_adios2.cpp
@@ -95,8 +95,8 @@ int main(int argc, char *argv[])
     // 1D decomposition of the columns, which is inefficient for reading!
     std::vector<uint64_t> readsize({gndx, gndy / nproc});
     std::vector<uint64_t> offset({0LL, rank * readsize[1]});
-    std::vector<size_t> readsize_size_t({gndx, gndy / nproc});
-    std::vector<size_t> offset_size_t({0LL, rank * readsize[1]});
+    adios2::Dims readsize_size_t({gndx, gndy / nproc});
+    adios2::Dims offset_size_t({0LL, rank * readsize[1]});
     if (rank == nproc - 1)
     {
         // last process should read all the rest of columns
-- 
GitLab