Skip to content

Commit a0aa309

Browse files
committed
Bool: CAPS Enum Labels for h5py
Else it does not identify those as `bool_` but as `int8`. Regression for ComputationalRadiationPhysics#153 (still in `dev`).
1 parent 3941f50 commit a0aa309

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/include/splash/basetypes/ColTypeBool.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class ColTypeBool : public CollectionType
4040
// this is a h5py compatible implementation for bool, see:
4141
// http://docs.h5py.org/en/latest/faq.html
4242
this->type = H5Tenum_create(H5T_NATIVE_INT8);
43-
const char *names[2] = {"true", "false"};
43+
const char *names[2] = {"TRUE", "FALSE"};
4444
const int64_t val[2] = {1, 0};
4545
H5Tenum_insert(this->type, names[0], &val[0]);
4646
H5Tenum_insert(this->type, names[1], &val[1]);

0 commit comments

Comments
 (0)