diff --git a/sample/test_fft_calls.cpp b/sample/test_fft_calls.cpp index b98fcea..e49ad82 100644 --- a/sample/test_fft_calls.cpp +++ b/sample/test_fft_calls.cpp @@ -89,5 +89,6 @@ int main(int argc, char **argv) test_2d(128,128); test_2d(128,131); test_2d(128,130); + test_2d(131,128); return 0; } diff --git a/src/fourier/details/euclidian_maps.hpp b/src/fourier/details/euclidian_maps.hpp index 53b0278..5b9b95d 100644 --- a/src/fourier/details/euclidian_maps.hpp +++ b/src/fourier/details/euclidian_maps.hpp @@ -172,7 +172,7 @@ namespace CosmoTool } template - void get_Kvec(long p, Array2& kvec) const + void get_Kvec_p(long p, Array2& kvec) const { const DimArray& dims = this->getDims(); DimArray d(delta_k.size()); @@ -212,7 +212,7 @@ namespace CosmoTool return std::sqrt(k2); } - double get_K(long p) const + double get_K_p(long p) const { const DimArray& dims = this->getDims(); DimArray d(delta_k.size());