From 9726b30af1caf7e3f3f075443eec9e1544212f23 Mon Sep 17 00:00:00 2001
From: "Vladimir V. Kisil" <V.Kisilv@leeds.ac.uk>
Date: Sun, 12 Feb 2023 10:11:57 +0000
Subject: [PATCH] Resolve ambiguous overload.

It confuses MinGW compiler on Windows from Qt suit.

Signed-off-by: Vladimir V. Kisil <V.Kisilv@leeds.ac.uk>
---
 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.39.1

