From 80ecd7a26f0a7fbf742d176d5aacfed6a7d49d17 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Sun, 26 Feb 2017 14:41:27 +0100 Subject: [PATCH] Fix extra newline bug in write_smt2 --- backends/smt2/smt2.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backends/smt2/smt2.cc b/backends/smt2/smt2.cc index 24731d1c7..b550a40bd 100644 --- a/backends/smt2/smt2.cc +++ b/backends/smt2/smt2.cc @@ -81,7 +81,7 @@ struct Smt2Worker else { if (width == 0) { - decl_str = stringf("(declare-fun |%s| (|%s_s|) Bool)\n", name.c_str(), get_id(module)); + decl_str = stringf("(declare-fun |%s| (|%s_s|) Bool)", name.c_str(), get_id(module)); } else { decl_str = stringf("(declare-fun |%s| (|%s_s|) (_ BitVec %d))", name.c_str(), get_id(module), width); } -- 2.30.2