From 3df8853a19a352a99e8054ddad5e739d0a8c17da Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Fri, 7 May 2021 20:45:21 -0700 Subject: [PATCH] remove redundant conditional clause This is always known-true due to the condition on the containing loop. --- lib/vpsc/solve_VPSC.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vpsc/solve_VPSC.cpp b/lib/vpsc/solve_VPSC.cpp index e9b035cce..596c5f695 100644 --- a/lib/vpsc/solve_VPSC.cpp +++ b/lib/vpsc/solve_VPSC.cpp @@ -382,7 +382,7 @@ bool VPSC::blockGraphIsCyclic() { break; } } - if(i==graph.end() && !graph.empty()) { + if(i==graph.end()) { //cycle found! return true; } else { -- 2.50.1