>From 7f360acab212c6c55fca0640191355755bb683d2 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin
Date: Mon, 22 May 2017 01:31:48 +0200 Subject: [PATCH] Fix tn_range_test compilation with gcc6 Avoid comparing booleans with 1 or -1, this results in errors like the following: error: comparison of constant '1' with boolean expression is always false [-Werror=bool-compare] --- tn_range_test.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tn_range_test.cpp b/tn_range_test.cpp index 5d115a4..ed1ed7a 100644 --- a/tn_range_test.cpp +++ b/tn_range_test.cpp @@ -137,7 +137,7 @@ void tn_range_test::test_auxiliary_functions(char const* file, int line) T const minT = std::numeric_limits