Skip to content

Commit da4a32c

Browse files
Committing clang-format changes
1 parent b56cb25 commit da4a32c

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

java/src/jni/h5util.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2169,7 +2169,8 @@ h5str_get_little_endian_type(hid_t tid)
21692169
if (size == 2) {
21702170
if (true == H5Tequal(tid, H5T_IEEE_F16LE) || true == H5Tequal(tid, H5T_IEEE_F16BE))
21712171
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))
21732174
p_type = H5Tcopy(H5T_FLOAT_BFLOAT16LE);
21742175
}
21752176
else if (size == 4)
@@ -2280,7 +2281,8 @@ h5str_get_big_endian_type(hid_t tid)
22802281
if (size == 2) {
22812282
if (true == H5Tequal(tid, H5T_IEEE_F16LE) || true == H5Tequal(tid, H5T_IEEE_F16BE))
22822283
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))
22842286
p_type = H5Tcopy(H5T_FLOAT_BFLOAT16BE);
22852287
}
22862288
else if (size == 4)

tools/lib/h5tools_type.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ h5tools_get_little_endian_type(hid_t tid)
5858
if (size == 2) {
5959
if (true == H5Tequal(tid, H5T_IEEE_F16LE) || true == H5Tequal(tid, H5T_IEEE_F16BE))
6060
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))
6263
p_type = H5Tcopy(H5T_FLOAT_BFLOAT16LE);
6364
}
6465
else if (size == 4)
@@ -152,7 +153,8 @@ h5tools_get_big_endian_type(hid_t tid)
152153
if (size == 2) {
153154
if (true == H5Tequal(tid, H5T_IEEE_F16LE) || true == H5Tequal(tid, H5T_IEEE_F16BE))
154155
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))
156158
p_type = H5Tcopy(H5T_FLOAT_BFLOAT16BE);
157159
}
158160
else if (size == 4)

0 commit comments

Comments
 (0)