From 586309024f43e28dee484e231e88b85bc2d646bc Mon Sep 17 00:00:00 2001 From: "Vladimir V. Kisil" Date: Sun, 12 Feb 2023 11:20:47 +0100 Subject: [PATCH] [PATCH] Resolve ambiguous overload. It confuses MinGW compiler on Windows from Qt suit. Signed-off-by: Vladimir V. Kisil --- ginac/factor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ginac/factor.cpp b/ginac/factor.cpp index a07a42b0..cb25f816 100644 --- a/ginac/factor.cpp +++ b/ginac/factor.cpp @@ -2394,7 +2394,7 @@ static ex factor_multivariate(const ex& poly, const exset& syms) ctx.vn = ctx.pp.collect(x).lcoeff(x); ctx.vnlst = put_factors_into_vec(factor(ctx.vn)); - ctx.modulus = (ctx.vnlst.size() > 3) ? ctx.vnlst.size() : 3; + ctx.modulus = (ctx.vnlst.size() > 3) ? ctx.vnlst.size() : numeric(3); ctx_in_x.push_back(ctx); } -- 2.49.0