From 8a8bedcb59d9f71233c56cccede6a98496361e06 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Wed, 27 Jun 2018 14:18:12 +0200 Subject: [PATCH 1/1] Remove useless parentheses. --- teshsuite/surf/lmm_usage/lmm_usage.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/teshsuite/surf/lmm_usage/lmm_usage.cpp b/teshsuite/surf/lmm_usage/lmm_usage.cpp index c66a43c1f8..49e4073d97 100644 --- a/teshsuite/surf/lmm_usage/lmm_usage.cpp +++ b/teshsuite/surf/lmm_usage/lmm_usage.cpp @@ -48,11 +48,11 @@ static double dichotomy(double func(double), double min, double max, double min_ double min_func = func(min); double max_func = func(max); - if ((min_func > 0 && max_func > 0)) + if (min_func > 0 && max_func > 0) return min - 1.0; - if ((min_func < 0 && max_func < 0)) + if (min_func < 0 && max_func < 0) return max + 1.0; - if ((min_func > 0 && max_func < 0)) + if (min_func > 0 && max_func < 0) abort(); SHOW_EXPR(min_error); -- 2.20.1