Skip to content

Commit c47308b

Browse files
authored
Update SMTEncoder.cpp
1 parent 08c4e0c commit c47308b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libsolidity/formal/SMTEncoder.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1297,7 +1297,7 @@ void SMTEncoder::endVisit(Literal const& _literal)
12971297
if (smt::isNumber(type))
12981298
defineExpr(_literal, smtutil::Expression(type.literalValue(&_literal)));
12991299
else if (smt::isBool(type))
1300-
defineExpr(_literal, smtutil::Expression(_literal.token() == Token::TrueLiteral ? true : false));
1300+
defineExpr(_literal, smtutil::Expression(_literal.token() == Token::TrueLiteral));
13011301
else if (smt::isStringLiteral(type))
13021302
{
13031303
createExpr(_literal);

0 commit comments

Comments
 (0)