3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-01-30 22:07:57 +00:00

#7468 - add option (get-info :parameters) to display solver parameters that were updated globally and distinct from defaults

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2025-02-10 11:57:14 -08:00
parent 62126fd6e2
commit c2b7b58c78
8 changed files with 62 additions and 6 deletions

View file

@ -476,7 +476,8 @@ public:
void display_smt2(std::ostream & out, char const* module, param_descrs& descrs) const {
for (params::entry const& e : m_entries) {
if (!descrs.contains(e.first)) continue;
if (!descrs.contains(e.first))
continue;
out << "(set-option :";
out << module << ".";
out << e.first;
@ -504,6 +505,7 @@ public:
break;
}
out << ")\n";
out << "; " << descrs.get_descr(e.first) << "\n";
}
}