Skip to content

Commit

Permalink
oneapi prec
Browse files Browse the repository at this point in the history
  • Loading branch information
alfC committed Feb 15, 2025
1 parent ed20f3f commit aed5534
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion include/boost/multi/adaptors/fftw/test/core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,16 @@ auto main() -> int { // NOLINT(readability-function-cognitive-complexity,bugpro

multi::fftw::dft_forward({false, false}, in, out); // out = in;

std::cout << in[2][3].real() << "==" << out[2][3].real() << std::endl;
BOOST_TEST( in[2][3].real() == out[2][3].real() );

std::cout << in[2][3].imag() << "==" << out[2][3].imag() << std::endl;
BOOST_TEST( in[2][3].imag() == out[2][3].imag() );

BOOST_TEST( out == in );
}

BOOST_AUTO_TEST_CASE(fftw_2D_many) { // , *boost::unit_test::tolerance(0.0001)) {
BOOST_AUTO_TEST_CASE(fftw_2D_many) {
using complex = std::complex<double>;

auto const I = complex{0.0, 1.0}; // NOLINT(readability-identifier-length) imag unit
Expand Down

0 comments on commit aed5534

Please sign in to comment.