Skip to content

Commit 6d5902a

Browse files
committed
SMT2 solver: remove spurious parenthesis in result output
The output had more closing parentheses than opening ones.
1 parent 59fb931 commit 6d5902a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/solvers/smt2/smt2_format.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ std::ostream &smt2_format_rec(std::ostream &out, const exprt &expr)
150150
for(std::size_t i = 0; i < array_list_expr.operands().size(); i += 2)
151151
out << "(store ";
152152

153-
out << "((as const " << smt2_format(expr.type()) << ")) "
153+
out << "((as const " << smt2_format(expr.type()) << ") "
154154
<< smt2_format(
155155
from_integer(0, to_array_type(expr.type()).element_type()))
156156
<< ')';

0 commit comments

Comments
 (0)