-
Notifications
You must be signed in to change notification settings - Fork 160
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
vector of string to FixedLenStringArray droppoing the last element #791
Comments
I think this is due assumptions about what a string is, precisely. The string literal HighFive/include/highfive/bits/H5DataType_misc.hpp Lines 335 to 338 in db6f31e
HighFive assumes that all strings are null-terminated and enforces this fact. Please try:
|
We're currently working towards supporting strings more cleanly, see #744. |
@1uc It still raise the size unequal assertion error after change the length from 3 to 4. |
You're right, and I didn't read sufficiently carefully. There's a PR that addresses the bug #797. Does it fix the issue? |
Describe the bug
When transfering a vector of string to FixedLenStringArray, the last element will get lost.
To Reproduce
The text was updated successfully, but these errors were encountered: