diff options
author | Chantal Keller <Chantal.Keller@inria.fr> | 2020-06-30 13:34:10 +0200 |
---|---|---|
committer | Chantal Keller <Chantal.Keller@inria.fr> | 2020-06-30 13:34:10 +0200 |
commit | 5a48d8b315ba20a5d79b56f9f3fa0ab7a1e8e13a (patch) | |
tree | 6c99318b1dfa81e02bff1ce8fe6e6257c0aee25e /src/trace | |
parent | 3523794498e9ac8b86eeec8e1a2147e9abe997b6 (diff) | |
parent | 26c639d438169530275ff7e48a55355deb7047df (diff) | |
download | smtcoq-5a48d8b315ba20a5d79b56f9f3fa0ab7a1e8e13a.tar.gz smtcoq-5a48d8b315ba20a5d79b56f9f3fa0ab7a1e8e13a.zip |
Merge branch 'master' of github.com:smtcoq/smtcoq
Diffstat (limited to 'src/trace')
-rw-r--r-- | src/trace/smtAtom.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/trace/smtAtom.ml b/src/trace/smtAtom.ml index c20a75d..ae44b8d 100644 --- a/src/trace/smtAtom.ml +++ b/src/trace/smtAtom.ml @@ -649,7 +649,7 @@ module Atom = to_smt_atom (atom h) and to_smt_atom = function - | Acop (CO_BV bv) -> Format.fprintf fmt "#b%a" bv_to_smt bv + | Acop (CO_BV bv) -> if List.length bv = 0 then Structures.error "Empty bit-vectors are not valid in SMT" else Format.fprintf fmt "#b%a" bv_to_smt bv | Acop _ as a -> to_smt_int fmt (compute_int a) | Auop (op,h) -> to_smt_uop op h | Abop (op,h1,h2) -> to_smt_bop op h1 h2 |