Skip to content

Commit

Permalink
Run pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
spectre-ns committed Apr 23, 2024
1 parent 16dc368 commit 9c0856e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/source/api/xfft.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ Defined in ``xtensor/xfft.hpp``
:project: xtensor

.. doxygentypedef:: xt::ifft
:project: xtensor
:project: xtensor
2 changes: 1 addition & 1 deletion include/xtensor/xfft.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -223,4 +223,4 @@ auto convolve(E1&& xvec, E2&& yvec, std::ptrdiff_t axis = -1)
}

}
} // namespace xt::fft
} // namespace xt::fft
4 changes: 2 additions & 2 deletions test/test_xfft.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,10 @@ namespace xt
auto result = xt::fft::convolve(x, y);

xt::xarray<float> abs = xt::abs(result);

for(size_t i = 0; i < abs.size(); i++)
{
REQUIRE(expected(i) == doctest::Approx(abs(i)).epsilon(.0001));
}
}
}
}

0 comments on commit 9c0856e

Please sign in to comment.