Add IEEE-BV-to-FP to external-to-internal mapping in C++ API (#6951)
authorAlex Ozdemir <aozdemir@hmc.edu>
Wed, 4 Aug 2021 01:41:04 +0000 (18:41 -0700)
committerGitHub <noreply@github.com>
Wed, 4 Aug 2021 01:41:04 +0000 (01:41 +0000)
Without this, you can't make terms with that kind.

src/api/cpp/cvc5.cpp

index 69aa720ea713e3a1a9b930282bd412831ba25569..22690fe49a1bb2abb3eb0e42cab71acf4aae4fb4 100644 (file)
@@ -241,6 +241,8 @@ const static std::unordered_map<Kind, cvc5::Kind> s_kinds{
     {FLOATINGPOINT_ISPOS, cvc5::Kind::FLOATINGPOINT_ISPOS},
     {FLOATINGPOINT_TO_FP_FLOATINGPOINT,
      cvc5::Kind::FLOATINGPOINT_TO_FP_FLOATINGPOINT},
+    {FLOATINGPOINT_TO_FP_IEEE_BITVECTOR,
+     cvc5::Kind::FLOATINGPOINT_TO_FP_IEEE_BITVECTOR},
     {FLOATINGPOINT_TO_FP_REAL, cvc5::Kind::FLOATINGPOINT_TO_FP_REAL},
     {FLOATINGPOINT_TO_FP_SIGNED_BITVECTOR,
      cvc5::Kind::FLOATINGPOINT_TO_FP_SIGNED_BITVECTOR},