From 5ff3525fc5abee66e67b610a3e043593920a18cb Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 8 Apr 2021 18:48:34 +0000 Subject: [PATCH] Committing clang-format changes --- c++/test/ttypes.cpp | 6 +++--- hl/test/test_image.c | 2 +- tools/src/h5repack/h5repack.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/c++/test/ttypes.cpp b/c++/test/ttypes.cpp index 264569005e4..7ebe294c893 100644 --- a/c++/test/ttypes.cpp +++ b/c++/test/ttypes.cpp @@ -726,9 +726,9 @@ test_named() // It should be possible to define an attribute for the named type Attribute attr1 = itype.createAttribute("attr1", PredType::NATIVE_UCHAR, space); for (hsize_t i = 0; i < ds_size[0]; i++) { - for (hsize_t j = 0; j < ds_size[1]; j++) { - attr_data[i][j] = (unsigned)(i * ds_size[0]] + j); - } + for (hsize_t j = 0; j < ds_size[1]; j++) { + attr_data[i][j] = (unsigned)(i * ds_size[0]] + j); + } } attr1.write(PredType::NATIVE_UINT, attr_data); attr1.close(); diff --git a/hl/test/test_image.c b/hl/test/test_image.c index 663ec4455f8..dc1be961a4f 100644 --- a/hl/test/test_image.c +++ b/hl/test/test_image.c @@ -675,7 +675,7 @@ test_generate(void) image_data[i] = 0; else { image_data[i] = (unsigned char)((255.0f * (data[i] - xmin)) / (xmax - xmin)); - } + } } /* make the image */ diff --git a/tools/src/h5repack/h5repack.c b/tools/src/h5repack/h5repack.c index 2edf016744a..7cad36bfe8e 100644 --- a/tools/src/h5repack/h5repack.c +++ b/tools/src/h5repack/h5repack.c @@ -243,7 +243,7 @@ copy_named_datatype(hid_t type_in, hid_t fidout, named_dt_t **named_dt_head_p, t if (token_cmp == 0) break; // found it! } - + dt_ret = dt; } else {