We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f983f48 commit 43b64a6Copy full SHA for 43b64a6
src/solvers/flattening/boolbv.cpp
@@ -23,6 +23,7 @@ Author: Daniel Kroening, kroening@kroening.com
23
#include <util/string_constant.h>
24
#include <util/symbol.h>
25
#include <util/threeval.h>
26
+#include <util/type_eq.h>
27
28
#include "boolbv_type.h"
29
@@ -569,10 +570,10 @@ bool boolbvt::boolbv_set_equality_to_true(const equal_exprt &expr)
569
570
if(!equality_propagation)
571
return true;
572
- const typet &type=ns.follow(expr.lhs().type());
573
+ const typet &type=expr.lhs().type();
574
575
if(expr.lhs().id()==ID_symbol &&
- type==ns.follow(expr.rhs().type()) &&
576
+ type_eq(type, expr.rhs().type(), ns) &&
577
type.id()!=ID_bool)
578
{
579
// see if it is an unbounded array
0 commit comments