Skip to content

Commit 085b5e2

Browse files
port Jakob's update to union_find from polysat branch
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
1 parent 2f2bf74 commit 085b5e2

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/sat/smt/array_solver.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ namespace array {
3232
typedef sat::literal literal;
3333
typedef sat::bool_var bool_var;
3434
typedef sat::literal_vector literal_vector;
35-
typedef union_find<solver, euf::solver> array_union_find;
35+
typedef union_find<solver> array_union_find;
3636

3737

3838
struct stats {

src/sat/smt/bv_solver.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ namespace bv {
4949
typedef std::pair<numeral, unsigned> value_sort_pair;
5050
typedef pair_hash<obj_hash<numeral>, unsigned_hash> value_sort_pair_hash;
5151
typedef map<value_sort_pair, theory_var, value_sort_pair_hash, default_eq<value_sort_pair> > value2var;
52-
typedef union_find<solver, euf::solver> bv_union_find;
52+
typedef union_find<solver> bv_union_find;
5353
typedef std::pair<theory_var, unsigned> var_pos;
5454

5555
friend class ackerman;

src/sat/smt/dt_solver.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ namespace dt {
3636
typedef sat::bool_var bool_var;
3737
typedef sat::literal literal;
3838
typedef sat::literal_vector literal_vector;
39-
typedef union_find<solver, euf::solver> dt_union_find;
39+
typedef union_find<solver> dt_union_find;
4040

4141
struct var_data {
4242
ptr_vector<enode> m_recognizers; //!< recognizers of this equivalence class that are being watched.

src/util/union_find.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class union_find_default_ctx {
3535
_trail_stack m_stack;
3636
};
3737

38-
template<typename Ctx = union_find_default_ctx, typename StackCtx = Ctx>
38+
template<typename Ctx = union_find_default_ctx>
3939
class union_find {
4040
Ctx & m_ctx;
4141
trail_stack & m_trail_stack;

0 commit comments

Comments
 (0)