Commit e84223c
Add lvl3param case to TwistFFTAdd for __uint128_t support
TwistFFTAdd was introduced in commit 2b15dde to fuse backward FFT with
accumulation in CMUX, but the lvl3param branch (used by Double Decomposition
with __uint128_t) was not included. This caused a static_assert failure
when compiling gatebootstrappingtlwe2tlwedoubledecomposition.
Mirrors TwistFFT's lvl3param handling: compute via a temp uint64_t array
using fftplvl3, then accumulate (+=) into the 128-bit result.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent f47d4df commit e84223c
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
123 | 129 | | |
124 | 130 | | |
125 | 131 | | |
| |||
0 commit comments