diff --git a/examples/example_tut03.c b/examples/example_tut03.c index 8ac165a..8b9a61f 100644 --- a/examples/example_tut03.c +++ b/examples/example_tut03.c @@ -55,5 +55,12 @@ void initialize_vec(double *arr, const size_t n) THROW(CTB_NULL_POINTER_ERROR, "Received null pointer."); } - TRACE_BLOCK(for (int i = 0; i < n; i++) { arr[i] = i; }); + // clang-format off + TRACE_BLOCK( + for (int i = 0; i < n; i++) + { + arr[i] = i; + } + ); + // clang-format on } diff --git a/examples/example_tut04.c b/examples/example_tut04.c index b75d850..3931522 100644 --- a/examples/example_tut04.c +++ b/examples/example_tut04.c @@ -58,7 +58,14 @@ void initialize_vec(double *arr, const size_t n) THROW(CTB_NULL_POINTER_ERROR, "Received null pointer."); } - TRACE_BLOCK(for (int i = 0; i < n; i++) { arr[i] = i; }); + // clang-format off + TRACE_BLOCK( + for (int i = 0; i < n; i++) + { + arr[i] = i; + } + ); + // clang-format on } void divide_vec(double *arr, const size_t n, const double denominator)