Skip to content

Commit

Permalink
finalise xdmf support
Browse files Browse the repository at this point in the history
closes #1
  • Loading branch information
Phil Tooley committed Dec 11, 2018
1 parent aef2325 commit 324001a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hdfwriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ void HDFWriter::write_map(const Map& map, const std::string& groupname)
auto corners = map.get_dmda_local_extents();
std::vector<hsize_t> offset(corners.first.cbegin(), corners.first.cend());
std::vector<hsize_t> chunksize(corners.second.cbegin(), corners.second.cend());
Vec_unique dimdata = map.get_dim_data_dmda_blocked(0);
Vec_unique dimdata = map.get_dim_data_dmda_blocked(idx);

std::ostringstream ofs;
std::copy(offset.cbegin(), offset.cend(), infix_ostream_iterator<integer>(ofs, ", "));
Expand Down

0 comments on commit 324001a

Please sign in to comment.