File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
regression/ebmc/smv-word-level Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ smv1.smv
10
10
^INIT range_type = 1$
11
11
^INIT signed_bit_vector = 0sd20_1$
12
12
^INIT unsigned_bit_vector = 0ud20_1$
13
- ^TRANS next\(bool_type\) = \(!\( bool_type\) \)$
13
+ ^TRANS next\(bool_type\) = \(!bool_type\)$
14
14
^TRANS next\(range_type\) = 2$
15
15
^TRANS next\(signed_bit_vector\) = 0sd20_2$
16
16
^TRANS next\(unsigned_bit_vector\) = 0ud20_2$
Original file line number Diff line number Diff line change @@ -419,7 +419,7 @@ expr2smvt::resultt expr2smvt::convert_unary(
419
419
// clang-format off
420
420
bool parentheses =
421
421
op.operands ().size () == 1 ? false
422
- : src.id () == ID_not ? true
422
+ : src.id () == ID_not && !op. operands (). empty () ? true
423
423
: precedence >= op_rec.p ;
424
424
// clang-format on
425
425
You can’t perform that action at this time.
0 commit comments