File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -2169,7 +2169,8 @@ h5str_get_little_endian_type(hid_t tid)
2169
2169
if (size == 2 ) {
2170
2170
if (true == H5Tequal (tid , H5T_IEEE_F16LE ) || true == H5Tequal (tid , H5T_IEEE_F16BE ))
2171
2171
p_type = H5Tcopy (H5T_IEEE_F16LE );
2172
- else if (true == H5Tequal (tid , H5T_FLOAT_BFLOAT16LE ) || true == H5Tequal (tid , H5T_FLOAT_BFLOAT16BE ))
2172
+ else if (true == H5Tequal (tid , H5T_FLOAT_BFLOAT16LE ) ||
2173
+ true == H5Tequal (tid , H5T_FLOAT_BFLOAT16BE ))
2173
2174
p_type = H5Tcopy (H5T_FLOAT_BFLOAT16LE );
2174
2175
}
2175
2176
else if (size == 4 )
@@ -2280,7 +2281,8 @@ h5str_get_big_endian_type(hid_t tid)
2280
2281
if (size == 2 ) {
2281
2282
if (true == H5Tequal (tid , H5T_IEEE_F16LE ) || true == H5Tequal (tid , H5T_IEEE_F16BE ))
2282
2283
p_type = H5Tcopy (H5T_IEEE_F16BE );
2283
- else if (true == H5Tequal (tid , H5T_FLOAT_BFLOAT16LE ) || true == H5Tequal (tid , H5T_FLOAT_BFLOAT16BE ))
2284
+ else if (true == H5Tequal (tid , H5T_FLOAT_BFLOAT16LE ) ||
2285
+ true == H5Tequal (tid , H5T_FLOAT_BFLOAT16BE ))
2284
2286
p_type = H5Tcopy (H5T_FLOAT_BFLOAT16BE );
2285
2287
}
2286
2288
else if (size == 4 )
Original file line number Diff line number Diff line change @@ -58,7 +58,8 @@ h5tools_get_little_endian_type(hid_t tid)
58
58
if (size == 2 ) {
59
59
if (true == H5Tequal (tid , H5T_IEEE_F16LE ) || true == H5Tequal (tid , H5T_IEEE_F16BE ))
60
60
p_type = H5Tcopy (H5T_IEEE_F16LE );
61
- else if (true == H5Tequal (tid , H5T_FLOAT_BFLOAT16LE ) || true == H5Tequal (tid , H5T_FLOAT_BFLOAT16BE ))
61
+ else if (true == H5Tequal (tid , H5T_FLOAT_BFLOAT16LE ) ||
62
+ true == H5Tequal (tid , H5T_FLOAT_BFLOAT16BE ))
62
63
p_type = H5Tcopy (H5T_FLOAT_BFLOAT16LE );
63
64
}
64
65
else if (size == 4 )
@@ -152,7 +153,8 @@ h5tools_get_big_endian_type(hid_t tid)
152
153
if (size == 2 ) {
153
154
if (true == H5Tequal (tid , H5T_IEEE_F16LE ) || true == H5Tequal (tid , H5T_IEEE_F16BE ))
154
155
p_type = H5Tcopy (H5T_IEEE_F16BE );
155
- else if (true == H5Tequal (tid , H5T_FLOAT_BFLOAT16LE ) || true == H5Tequal (tid , H5T_FLOAT_BFLOAT16BE ))
156
+ else if (true == H5Tequal (tid , H5T_FLOAT_BFLOAT16LE ) ||
157
+ true == H5Tequal (tid , H5T_FLOAT_BFLOAT16BE ))
156
158
p_type = H5Tcopy (H5T_FLOAT_BFLOAT16BE );
157
159
}
158
160
else if (size == 4 )
You can’t perform that action at this time.
0 commit comments