Skip to content

Commit a91b605

Browse files
committed
Removing unit_tenv_queue
1 parent 97353c0 commit a91b605

2 files changed

Lines changed: 1 addition & 7 deletions

File tree

src/lib/reasoners/satml.ml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -282,8 +282,6 @@ module Make (Th : Theory.S) : SAT_ML with type th = Th.t = struct
282282

283283
mutable tenv_queue : Th.t Vec.t;
284284

285-
mutable unit_tenv_queue : Th.t Vec.t;
286-
287285
mutable tatoms_queue : Atom.atom Queue.t;
288286
(** Queue of atoms that have been added to the [trail] through either
289287
decision or boolean propagation, but have not been otherwise processed
@@ -508,8 +506,6 @@ module Make (Th : Theory.S) : SAT_ML with type th = Th.t = struct
508506

509507
tenv_queue = Vec.make 100 ~dummy:(Th.empty());
510508

511-
unit_tenv_queue = Vec.make 100 ~dummy:(Th.empty());
512-
513509
tatoms_queue = Queue.create ();
514510

515511
th_tableaux = Queue.create ();
@@ -2207,15 +2203,13 @@ module Make (Th : Theory.S) : SAT_ML with type th = Th.t = struct
22072203
guard.neg.is_guard <- false;
22082204
cancel_until env env.next_dec_guard;
22092205
Vec.push env.increm_guards guard;
2210-
Vec.push env.unit_tenv_queue env.unit_tenv;
22112206
env.is_unsat_cpt <- if env.is_unsat then env.is_unsat_cpt + 1 else 0
22122207

22132208
let pop env =
22142209
(assert (not (Vec.is_empty env.increm_guards)));
22152210
let g = Vec.pop env.increm_guards in
22162211
env.is_unsat <- env.is_unsat_cpt <> 0;
22172212
env.is_unsat_cpt <- max 0 (env.is_unsat_cpt - 1);
2218-
env.unit_tenv <- Vec.pop env.unit_tenv_queue;
22192213
g.is_guard <- false;
22202214
g.neg.is_guard <- false;
22212215
assert (not g.var.na.is_true); (* atom not false *)

tests/smtlib/testfile-get-info1.dolmen.expected

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
unknown
33
(
4-
:steps 10)
4+
:steps 9)
55

66
unsupported
77

0 commit comments

Comments
 (0)