Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/solvers/smt2/smt2_conv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1578,7 +1578,7 @@ void smt2_convt::convert_expr(const exprt &expr)
if(expr.id() == ID_nand)
out << "(and";
else if(expr.id() == ID_nor)
out << "(and";
out << "(or";
else if(expr.id() == ID_xnor)
out << "(xor";
else
Expand Down
6 changes: 3 additions & 3 deletions src/util/std_expr.h
Original file line number Diff line number Diff line change
Expand Up @@ -2103,7 +2103,7 @@ inline and_exprt &to_and_expr(exprt &expr)
/// Any number of operands that is greater or equal one.
/// When given one operand, this is equivalent to the negation.
/// When given three or more operands, this is equivalent to the negation
/// of the and expression with the same operands.
/// of the 'and' expression with the same operands.
class nand_exprt : public multi_ary_exprt
{
public:
Expand Down Expand Up @@ -2248,7 +2248,7 @@ inline or_exprt &to_or_expr(exprt &expr)
/// Any number of operands that is greater or equal one.
/// When given one operand, this is equivalent to the negation.
/// When given three or more operands, this is equivalent to the negation
/// of the and expression with the same operands.
/// of the 'or' expression with the same operands.
class nor_exprt : public multi_ary_exprt
{
public:
Expand Down Expand Up @@ -2331,7 +2331,7 @@ inline xor_exprt &to_xor_expr(exprt &expr)
///
/// When given one operand, this is equivalent to the negation.
/// When given three or more operands, this is equivalent to the negation
/// of the xor expression with the same operands.
/// of the 'xor' expression with the same operands.
class xnor_exprt : public multi_ary_exprt
{
public:
Expand Down
Loading