From e2bb0537228223826f09e8ddcdbe5ce12182a9ea Mon Sep 17 00:00:00 2001 From: Ching Wei Kang <164879897+WilliamK112@users.noreply.github.com> Date: Mon, 13 Jul 2026 22:15:40 -0500 Subject: [PATCH] Parenthesize graphIO ternary condition --- planarity/c/graphLib/io/graphIO.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/planarity/c/graphLib/io/graphIO.c b/planarity/c/graphLib/io/graphIO.c index 41cba4c..e697257 100644 --- a/planarity/c/graphLib/io/graphIO.c +++ b/planarity/c/graphLib/io/graphIO.c @@ -351,7 +351,7 @@ int _ReadLEDAGraph(graphP theGraph, strOrFileP inputContainer) int graphType = 0; int N = 0, M = 0, u = NIL, v = NIL; - int zeroBasedOffset = gp_LowerBoundVertexStorage(theGraph) == 0 ? 1 : 0; + int zeroBasedOffset = (gp_LowerBoundVertexStorage(theGraph) == 0) ? 1 : 0; char Line[MAXLINE + 1]; memset(Line, '\0', (MAXLINE + 1));