From 8fce54f43cf51968213e6c837bdc509dfec12730 Mon Sep 17 00:00:00 2001 From: "Mayeul@Zama" <69792125+mayeul-zama@users.noreply.github.com> Date: Mon, 25 Nov 2024 18:02:12 +0100 Subject: [PATCH] chore(hlapi): stabilize FheTypes --- tfhe/src/high_level_api/mod.rs | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/tfhe/src/high_level_api/mod.rs b/tfhe/src/high_level_api/mod.rs index 4caf58e251..e5aea063e9 100644 --- a/tfhe/src/high_level_api/mod.rs +++ b/tfhe/src/high_level_api/mod.rs @@ -130,23 +130,23 @@ pub enum Device { #[derive(Copy, Clone, PartialEq, Eq, Debug)] pub enum FheTypes { - Bool, + Bool = 0, Uint2, - Uint4, + Uint4 = 1, Uint6, - Uint8, + Uint8 = 2, Uint10, Uint12, Uint14, - Uint16, - Uint32, - Uint64, - Uint128, - Uint160, - Uint256, - Uint512, - Uint1024, - Uint2048, + Uint16 = 3, + Uint32 = 4, + Uint64 = 5, + Uint128 = 6, + Uint160 = 7, + Uint256 = 8, + Uint512 = 9, + Uint1024 = 10, + Uint2048 = 11, Int2, Int4, Int6,