3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-10-09 01:11:55 +00:00
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
Lev Nachmanson 2025-09-08 07:32:02 -10:00
parent 3cf0c730b9
commit 3bc1873882

View file

@ -108,7 +108,9 @@ namespace nlsat {
} }
bool is_irreducible(poly* p) { bool is_irreducible(poly* p) {
return true; polynomial::factors factors(m_pm);
factor(polynomial_ref(p, m_pm), factors);
return factors.total_factors() == 1;
} }
/* /*