From: Matthew Fernandez Date: Wed, 16 Feb 2022 10:11:17 +0000 (+1100) Subject: neatogen: [nfc] brace a single-line if block X-Git-Tag: 3.0.0~26^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=17fd2264be1be1da7f342ae90cd1de1b669cbe4f;p=graphviz neatogen: [nfc] brace a single-line if block --- 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]; + } } }