mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 01:25:31 +00:00
parent
a4d4e2e483
commit
c3e31149a5
5 changed files with 15 additions and 23 deletions
|
@ -516,13 +516,8 @@ namespace smt {
|
|||
|
||||
template<typename Ext>
|
||||
void theory_arith<Ext>::display_bounds_in_smtlib() const {
|
||||
char buffer[128];
|
||||
static int id = 0;
|
||||
#ifdef _WINDOWS
|
||||
sprintf_s(buffer, Z3_ARRAYSIZE(buffer), "arith_%d.smt", id);
|
||||
#else
|
||||
sprintf(buffer, "arith_%d.smt", id);
|
||||
#endif
|
||||
std::string buffer = "arith_" + std::to_string(id) + ".smt2";
|
||||
std::ofstream out(buffer);
|
||||
display_bounds_in_smtlib(out);
|
||||
out.close();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue