Skip to content

Commit 49f4788

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`). Increases format by a minor since the structure is still the same but the identification in `h5py` is improved (and it is still not in a stable release).
1 parent 2038b2a commit 49f4788

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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]);

src/include/splash/version.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
* changes in the minor number have to be backwards compatible
3333
*/
3434
#define SPLASH_FILE_FORMAT_MAJOR 3
35-
#define SPLASH_FILE_FORMAT_MINOR 2
35+
#define SPLASH_FILE_FORMAT_MINOR 3
3636

3737
/** The version of HDF5 that was used to compile splash */
3838
#define SPLASH_HDF5_VERSION "${HDF5_VERSION}"

0 commit comments

Comments
 (0)