Skip to content

H5easy Eigen vector shape question #707

Closed Answered by 1uc
shivupa asked this question in Questions
Discussion options

You must be logged in to vote

This seems intentional, yes:
https://github.com/BlueBrain/HighFive/blob/master/include/highfive/h5easy_bits/H5Easy_Eigen.hpp#L48
https://github.com/BlueBrain/HighFive/blob/master/include/highfive/h5easy_bits/H5Easy_Eigen.hpp#L89

For row or column vectors you're likely not affected by the bug in core HighFive. Hence, you could try using something like

H5Easy::File file("example.h5", H5Easy::File::Overwrite);
file.createDataSet("row_vector", row_vector);
file.createDataSet("column_vector", column_vector);

(A H5Easy::File is simply a HighFive::File it seems.) If I read the output of your reproducer with the modification, it actually gets the order of columns and row right. However, I tend t…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@shivupa
Comment options

Answer selected by shivupa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants