Skip to content

Commit

Permalink
Formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
kimlaine committed May 23, 2024
1 parent 6fcc25b commit a01b50b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion native/src/seal/context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,8 @@ namespace seal
}

// Add them to the context_data_map_
context_data_map_.emplace(make_pair(next_parms_id, make_shared<const ContextData>(std::move(next_context_data))));
context_data_map_.emplace(
make_pair(next_parms_id, make_shared<const ContextData>(std::move(next_context_data))));

// Add pointer to next context_data to the previous one (linked list)
// Add pointer to previous context_data to the next one (doubly linked list)
Expand Down
3 changes: 2 additions & 1 deletion native/src/seal/util/ntt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,8 @@ namespace seal
{
namespace util
{
NTTTables::NTTTables(int coeff_count_power, const Modulus &modulus, MemoryPoolHandle pool) : pool_(std::move(pool))
NTTTables::NTTTables(int coeff_count_power, const Modulus &modulus, MemoryPoolHandle pool)
: pool_(std::move(pool))
{
#ifdef SEAL_DEBUG
if (!pool_)
Expand Down

0 comments on commit a01b50b

Please sign in to comment.