Skip to content

Commit

Permalink
Added inline to decomposition to follow the tfhe-rs strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
nindanaoto committed May 27, 2024
1 parent 9c502b6 commit 309cd11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/trgsw.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ constexpr typename P::T offsetgen()
}

template <class P>
void Decomposition(DecomposedPolynomial<P> &decpoly, const Polynomial<P> &poly,
inline void Decomposition(DecomposedPolynomial<P> &decpoly, const Polynomial<P> &poly,
typename P::T randbits = 0)
{
#ifdef USE_OPTIMAL_DECOMPOSITION
Expand Down

0 comments on commit 309cd11

Please sign in to comment.