From 17fd2264be1be1da7f342ae90cd1de1b669cbe4f Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Wed, 16 Feb 2022 21:11:17 +1100 Subject: [PATCH] neatogen: [nfc] brace a single-line if block --- lib/neatogen/matrix_ops.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/neatogen/matrix_ops.c b/lib/neatogen/matrix_ops.c index e123c0184..7a405ae59 100644 --- a/lib/neatogen/matrix_ops.c +++ b/lib/neatogen/matrix_ops.c @@ -600,8 +600,9 @@ void invert_vec(int n, float *vec) { int i; for (i = 0; i < n; i++) { - if (vec[i] != 0.0) + if (vec[i] != 0.0) { vec[i] = 1.0f / vec[i]; + } } } -- 2.40.0