mirror of https://github.com/YosysHQ/yosys.git
Fix extra newline bug in write_smt2
This commit is contained in:
parent
6e152f7aa1
commit
80ecd7a26f
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue