diff --git a/test/circuitbootstrappingsub.cpp b/test/circuitbootstrappingsub.cpp index c0cb6c7..b6f6747 100644 --- a/test/circuitbootstrappingsub.cpp +++ b/test/circuitbootstrappingsub.cpp @@ -39,7 +39,7 @@ int main() for (int i = 0; i < num_test; i++) pones[i] = true; std::vector> ca(num_test); std::vector> cones(num_test); - std::vector> bootedTGSW( + std::vector,TFHEpp::AlignedAllocator,64>> bootedTGSW( num_test); for (int i = 0; i < num_test; i++) diff --git a/test/ram.cpp b/test/ram.cpp index 3778c36..e6829e3 100644 --- a/test/ram.cpp +++ b/test/ram.cpp @@ -53,10 +53,10 @@ int main() array, address_bit>, 2> *bootedTGSW = - new array, address_bit>, 2>; + new (std::align_val_t(64)) array, address_bit>, 2>; vector> encaddress(address_bit); array, memsize> *encmemory = - new array, memsize>; + new (std::align_val_t(64)) array, memsize>; TLWE encreadres; TRLWE encumemory; TLWE cs; diff --git a/test/rom.cpp b/test/rom.cpp index 6c62f76..74fae0f 100644 --- a/test/rom.cpp +++ b/test/rom.cpp @@ -52,7 +52,7 @@ int main() // torellance. for (uint8_t &p : address) p = binary(engine); - array, address_bit> bootedTGSW; + alignas(64) array, address_bit> bootedTGSW; vector> encaddress(address_bit); array, num_trlwe> encmemory; vector> encres(word);