From d2ad0ba0bfc0f8ee38753878b260a122c43d7b7f Mon Sep 17 00:00:00 2001 From: Richard Kreckel Date: Sun, 18 Sep 2022 23:54:02 +0200 Subject: [PATCH] Fix -Wsign-compare warnings in new code. --- ginac/normal.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ginac/normal.cpp b/ginac/normal.cpp index cad9d455..2dad50fd 100644 --- a/ginac/normal.cpp +++ b/ginac/normal.cpp @@ -1958,7 +1958,7 @@ ex sqrfree_parfrac(const ex & a, const symbol & x) // Factorize denominator and compute cofactors epvector yun = sqrfree_yun(denom, x); exvector factor, cofac; - int dim = 0; + size_t dim = 0; for (size_t i=0; i(yun[i].coeff); for (size_t j=0; j(yun[i].coeff)); + size_t i_expo = to_int(ex_to(yun[i].coeff)); for (size_t j=0; j(yun[i].coeff)); + size_t i_expo = to_int(ex_to(yun[i].coeff)); for (size_t j=0; j