mirror of
https://github.com/Z3Prover/z3
synced 2026-04-30 23:53:44 +00:00
parent
9a09b10cea
commit
60926e0347
2 changed files with 2 additions and 2 deletions
|
|
@ -156,7 +156,7 @@ namespace Microsoft.Z3
|
||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// This API is an alternative to <see cref="Check(Expr[])"/> with assumptions for extracting unsat cores.
|
/// This API is an alternative to <see cref="Check(Expr[])"/> with assumptions for extracting unsat cores.
|
||||||
/// Both APIs can be used in the same solver. The unsat core will contain a combination
|
/// Both APIs can be used in the same solver. The unsat core will contain a combination
|
||||||
/// of the Boolean variables provided using <see cref="AssertAndTrack(BoolExpr[],BoolExpr[])"/>
|
/// of the Boolean variables provided using <see cref="AssertAndTrack(BoolExpr,BoolExpr)"/>
|
||||||
/// and the Boolean literals
|
/// and the Boolean literals
|
||||||
/// provided using <see cref="Check(Expr[])"/> with assumptions.
|
/// provided using <see cref="Check(Expr[])"/> with assumptions.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
|
|
|
||||||
|
|
@ -65,7 +65,7 @@ struct solver::imp {
|
||||||
if (m_nla_core.emons().is_monic_var(v)) {
|
if (m_nla_core.emons().is_monic_var(v)) {
|
||||||
auto const &m = m_nla_core.emons()[v];
|
auto const &m = m_nla_core.emons()[v];
|
||||||
for (auto v2 : m.vars()) {
|
for (auto v2 : m.vars()) {
|
||||||
den = lcm(denominators[v2], den);
|
den = denominators[v2] * den;
|
||||||
polynomial_ref pw(definitions.get(v2), m_nlsat->pm());
|
polynomial_ref pw(definitions.get(v2), m_nlsat->pm());
|
||||||
if (!p)
|
if (!p)
|
||||||
p = pw;
|
p = pw;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue