Skip to content

Commit

Permalink
btorextract: Fix macro check.
Browse files Browse the repository at this point in the history
Fixes #94.
  • Loading branch information
mpreiner committed Apr 23, 2020
1 parent c3c01e6 commit 76aafdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/preprocess/btorextract.c
Expand Up @@ -1470,7 +1470,7 @@ extract_macros (Btor *btor)
if (btor_node_is_inverted (cur) || !btor_node_is_forall (cur)) continue;

body = cur->e[1];
if (!btor_node_is_bv_eq (body)) continue;
if (btor_node_is_inverted (body) || !btor_node_is_bv_eq (body)) continue;

if (btor_node_is_apply (body->e[0]))
{
Expand Down

0 comments on commit 76aafdf

Please sign in to comment.