From da6f30ce07f1025605251d943a1763380034ef3a Mon Sep 17 00:00:00 2001 From: bitsofcotton <22259589+bitsofcotton@users.noreply.github.com> Date: Tue, 19 Nov 2024 22:12:36 +0900 Subject: [PATCH] merge p0 result. --- lieonn.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lieonn.hh b/lieonn.hh index 8cf529f..4d87b4d 100644 --- a/lieonn.hh +++ b/lieonn.hh @@ -2810,7 +2810,7 @@ template static inline SimpleVector taylor(const int& size, cons #pragma omp parallel for schedule(static, 1) #endif for(int i = 0; i < res.rows(); i ++) - res.row(i) *= exp(complex(T(int(0)), T(int(2)) * Pi * T(i) / T(res.rows()) )); + res.row(i) *= exp(complex(T(int(0)), - T(int(2)) * Pi * T(i) / T(res.rows()) )); return (res.transpose() * dft(- size).row(step0)).template real(); /* SimpleVector res(size); @@ -3384,7 +3384,7 @@ template const SimpleMatrix >& dftcache(const int& size) return cidft[abs(size)] = dft(size); } -template class P0 { +template class P0 { public: inline P0(const int& step = 1) { this->step = step;