From d808a25ef9950deaffde99cd6881f372910017be Mon Sep 17 00:00:00 2001 From: Alan Liddell Date: Thu, 5 Sep 2024 14:28:07 -0400 Subject: [PATCH] Remove float16 datatype. --- include/zarr.h | 1 - tests/integration/set-and-get-params.cpp | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/include/zarr.h b/include/zarr.h index 8c9140f4..3038b5bf 100644 --- a/include/zarr.h +++ b/include/zarr.h @@ -52,7 +52,6 @@ extern "C" ZarrDataType_int16, ZarrDataType_int32, ZarrDataType_int64, - ZarrDataType_float16, ZarrDataType_float32, ZarrDataType_float64, ZarrDataTypeCount diff --git a/tests/integration/set-and-get-params.cpp b/tests/integration/set-and-get-params.cpp index c8786754..5c3bd7ec 100644 --- a/tests/integration/set-and-get-params.cpp +++ b/tests/integration/set-and-get-params.cpp @@ -98,9 +98,9 @@ set_and_get_parameters(ZarrStreamSettings* stream) CHECK_EQ(str_param_value, "s3_secret_access_key"); /* Set and get data type */ - CHECK_EQ(ZarrStreamSettings_set_data_type(stream, ZarrDataType_float16), + CHECK_EQ(ZarrStreamSettings_set_data_type(stream, ZarrDataType_float32), ZarrError_Success); - CHECK_EQ(ZarrStreamSettings_get_data_type(stream), ZarrDataType_float16); + CHECK_EQ(ZarrStreamSettings_get_data_type(stream), ZarrDataType_float32); /* Set and get compressor */ CHECK_EQ(ZarrStreamSettings_set_compressor(stream, ZarrCompressor_Blosc1),