This repository was archived by the owner on Feb 26, 2025. It is now read-only.
Scalar compound attributes #598
Unanswered
johnstairs
asked this question in
Questions
Replies: 1 comment
-
Hi, I took just a quick look. Here's what I tried: https://godbolt.org/z/1b4W5xfGf and this seems to build fine. Does that help, or is it maybe a specific case that still doesn't work? cheers! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, it seems like scalar compound attributes are not supported. I'm wondering if that is intentional.
For example, in the compound types example, if I call
createAttribute
with a singleSize2D
instead ofstd::vector<Size2D>
, I get a compilation error:Of course I might be doing something wrong. (I also tried using
HighFive::DataSpace(HighFive::DataSpace::DataspaceType::dataspace_scalar)
but ended up with a runtime segfault)Thanks for your help!
Beta Was this translation helpful? Give feedback.
All reactions