Skip to content
This repository was archived by the owner on Feb 26, 2025. It is now read-only.
This repository was archived by the owner on Feb 26, 2025. It is now read-only.

H5Easy: Support creating extensible datasets with Eigen::ArrayXXd #1072

@nickanthony-dgl

Description

@nickanthony-dgl

I am trying to create a dataset that can later be resized like so:

Eigen::ArrayXXd data = generateData();
auto dset = H5Easy::dump(f,"/myData", data, std::vector<size_t>{0, 0}, dataOptions); // Initialize an extensible dataset

I get the following error message:

...\include\highfive\h5easy_bits\H5Easy_public.hpp(109): error C2039: 'dump_extend': is not a member of 'H5Easy::detail::io_impl<Eigen::ArrayXXd,void>'
  ...\include\highfive\h5easy_bits/H5Easy_Eigen.hpp(22): note: see declaration of 'H5Easy::detail::io_impl<Eigen::ArrayXXd,void>'
  ...\include\highfive\h5easy_bits/H5Easy_public.hpp(109): note: the template instantiation context (the oldest one first) is
  myproject/mysource.cpp(139): note: see reference to function template instantiation 'HighFive::DataSet H5Easy::dump<Eigen::ArrayXXd>(HighFive::File &,const std::string &,const T &,const std::vector<size_t,std::allocator<size_t>> &,const H5Easy::DumpOptions &)' being compiled
          with
          [
              T=Eigen::ArrayXXd
          ]
...\include\highfive\h5easy_bits\H5Easy_public.hpp(109): error C3861: 'dump_extend': identifier not found

Possibly related to #1018

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions