Skip to content

Commit

Permalink
kernel: add missing template specs
Browse files Browse the repository at this point in the history
  • Loading branch information
james-d-mitchell committed Jan 22, 2024
1 parent e854204 commit cbde7ca
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions src/to_cpp.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -492,6 +492,17 @@ namespace gapbind14 {
}
};

#ifdef LIBSEMIGROUPS_HPCOMBI_ENABLED
template <>
struct to_cpp<HPCombi::Transf16> : public to_cpp<Transf<0, uint8_t>> {};

template <>
struct to_cpp<HPCombi::Transf16&> : to_cpp<HPCombi::Transf16> {};

template <>
struct to_cpp<HPCombi::Transf16 const&> : to_cpp<HPCombi::Transf16> {};
#endif

////////////////////////////////////////////////////////////////////////
// Partial perms
////////////////////////////////////////////////////////////////////////
Expand Down Expand Up @@ -598,6 +609,17 @@ namespace gapbind14 {
}
};

#ifdef LIBSEMIGROUPS_HPCOMBI_ENABLED
template <>
struct to_cpp<HPCombi::PPerm16> : public to_cpp<PPerm<0, uint8_t>> {};

template <>
struct to_cpp<HPCombi::PPerm16&> : to_cpp<HPCombi::PPerm16> {};

template <>
struct to_cpp<HPCombi::PPerm16 const&> : to_cpp<HPCombi::PPerm16> {};
#endif

////////////////////////////////////////////////////////////////////////
// Bipartition
////////////////////////////////////////////////////////////////////////
Expand Down

0 comments on commit cbde7ca

Please sign in to comment.