From cb039c95aa54c732271755ba59d194b4c1b99558 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 19 Sep 2025 21:12:18 +0000 Subject: [PATCH] Fix compilation error in nla_grobner.cpp cross_nested constructor Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com> --- src/math/lp/nla_grobner.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/math/lp/nla_grobner.cpp b/src/math/lp/nla_grobner.cpp index f16d61815..89396b41f 100644 --- a/src/math/lp/nla_grobner.cpp +++ b/src/math/lp/nla_grobner.cpp @@ -970,7 +970,9 @@ namespace nla { cross_nested cn( [this, dep](const nex* n) { return c().m_intervals.check_nex(n, dep); }, [this](unsigned j) { return c().var_is_fixed(j); }, - [this]() { return c().random(); }, nc); + c().reslim(), + c().random(), + nc); cn.run(to_sum(e)); bool ret = cn.done(); return ret;