mirror of
https://github.com/Z3Prover/z3
synced 2025-10-09 09:21:56 +00:00
t
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
3cf0c730b9
commit
3bc1873882
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue