Skip to content

Commit

Permalink
Add missing nary api functions
Browse files Browse the repository at this point in the history
  • Loading branch information
filipeom committed Sep 19, 2024
1 parent 76344ce commit 6709acf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/bitwuzla_mappings.default.ml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ module Fresh_bitwuzla (B : Bitwuzla_cxx.S) : M = struct

let or_ t1 t2 = mk_term2 Kind.Or t1 t2

let logand ts = mk_term Kind.And (Array.of_list ts)

let logor ts = mk_term Kind.Or (Array.of_list ts)

let xor t1 t2 = mk_term2 Kind.Xor t1 t2

let eq t1 t2 = mk_term2 Kind.Equal t1 t2
Expand Down
4 changes: 4 additions & 0 deletions src/mappings.nop.ml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ module Nop = struct

let or_ _ = assert false

let logand _ = assert false

let logor _ = assert false

let xor _ = assert false

let eq _ = assert false
Expand Down

0 comments on commit 6709acf

Please sign in to comment.