]> granicus.if.org Git - graphviz/commitdiff
bisect: remove unnecessary bracketing
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 29 Aug 2021 23:58:09 +0000 (16:58 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 4 Sep 2021 02:28:20 +0000 (19:28 -0700)
lib/common/emit.c

index 17316901113b1e6e66c5d16293df4a6000d1ddcb..4e590024c19ded57aea5f6c054a0c240a663a945 100644 (file)
@@ -910,7 +910,7 @@ static double bisect (pointf pp, pointf cp, pointf np)
   ang = theta - phi;
   if (ang > 0) ang -= 2*M_PI;
 
-  return (phi + ang/2.0);
+  return phi + ang / 2.0;
 }
 
 /* mkSegPts: