Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I/O for std::vector<int> and std::string #2153

Merged
merged 11 commits into from
Dec 2, 2020
Merged

Conversation

johnomotani
Copy link
Contributor

@johnomotani johnomotani commented Nov 24, 2020

Refactor of #2150 removing support for std::vector<char>.

Closes #2150.

check_output() was duplicated in test-io_hdf5.
Only affects parallel=true case, which does not work anyway, so not a
serious bug.
Previously, although the method had lx, ly, lz arguments, the 'counts'
vector in write_rec(int*, ...) was hard-coded to length 1. This only
allows writing a (time-dependent) scalar int variable. 'counts' should
be length 4, with shape (1, lx, ly, lz).
@johnomotani johnomotani added feature backport candidiate Does not break backward compatibility, so can be back-ported to v4.4 labels Nov 24, 2020
@johnomotani
Copy link
Contributor Author

BTW looks like there was a bad merge of test-io_hdf5/runtest in #2139 (duplicated the check_output() function). I've fixed in 7f6eb24 - could make a separate PR for just that if it's useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport candidiate Does not break backward compatibility, so can be back-ported to v4.4 feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants