From 9c0856efe1bd98fdeb44e6cc2401a6b26357d490 Mon Sep 17 00:00:00 2001 From: Drew Hubley Date: Mon, 22 Apr 2024 21:44:58 -0300 Subject: [PATCH] Run pre-commit --- docs/source/api/xfft.rst | 2 +- include/xtensor/xfft.hpp | 2 +- test/test_xfft.cpp | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/source/api/xfft.rst b/docs/source/api/xfft.rst index c895c7940..78ba5ff7d 100644 --- a/docs/source/api/xfft.rst +++ b/docs/source/api/xfft.rst @@ -14,4 +14,4 @@ Defined in ``xtensor/xfft.hpp`` :project: xtensor .. doxygentypedef:: xt::ifft - :project: xtensor \ No newline at end of file + :project: xtensor diff --git a/include/xtensor/xfft.hpp b/include/xtensor/xfft.hpp index 51671a35c..051ff7407 100644 --- a/include/xtensor/xfft.hpp +++ b/include/xtensor/xfft.hpp @@ -223,4 +223,4 @@ auto convolve(E1&& xvec, E2&& yvec, std::ptrdiff_t axis = -1) } } -} // namespace xt::fft \ No newline at end of file +} // namespace xt::fft diff --git a/test/test_xfft.cpp b/test/test_xfft.cpp index b5d1edc1c..e396b8421 100644 --- a/test/test_xfft.cpp +++ b/test/test_xfft.cpp @@ -76,10 +76,10 @@ namespace xt auto result = xt::fft::convolve(x, y); xt::xarray abs = xt::abs(result); - + for(size_t i = 0; i < abs.size(); i++) { REQUIRE(expected(i) == doctest::Approx(abs(i)).epsilon(.0001)); } } -} \ No newline at end of file +}