From a807c9f5b361fb60e3d0f32de11dcfb3e853f219 Mon Sep 17 00:00:00 2001 From: Richard Kreckel Date: Sun, 6 Nov 2016 19:41:47 +0100 Subject: [PATCH 1/1] Fix MSC compiler warning. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Thanks to Jan Rheinländer for reporting this. --- ginac/numeric.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ginac/numeric.cpp b/ginac/numeric.cpp index 74e20e8a..948409e3 100644 --- a/ginac/numeric.cpp +++ b/ginac/numeric.cpp @@ -442,7 +442,7 @@ static void print_real_csrc(const print_context & c, const cln::cl_R & x) // Rational number const cln::cl_I numer = cln::numerator(cln::the(x)); const cln::cl_I denom = cln::denominator(cln::the(x)); - if (cln::plusp(x) > 0) { + if (cln::plusp(x)) { c.s << "("; print_integer_csrc(c, numer); } else { -- 2.44.0