diff --git a/tests/test_mxp_truncated_mantissa_t.cxx b/tests/test_mxp_truncated_mantissa_t.cxx index db568c7c..3ffc6b8e 100644 --- a/tests/test_mxp_truncated_mantissa_t.cxx +++ b/tests/test_mxp_truncated_mantissa_t.cxx @@ -393,10 +393,11 @@ TEST(mxp_truncated_mantissa, error_bounds_complex_float) std::srand(time(nullptr)); for (int j = 0; j < x.size(); ++j) - x(j) = complex32_t{1.f + 1.f * std::rand() / - std::numeric_limits::max(), - 1.f + 1.f * std::rand() / - std::numeric_limits::max()}; + x(j) = + complex32_t{1.f + 1.f * std::rand() / + std::numeric_limits::max(), + 1.f + 1.f * std::rand() / + std::numeric_limits::max()}; Loop<0, 23, run_test_error_bounds>::Run(x, y); } @@ -412,10 +413,10 @@ TEST(mxp_truncated_mantissa, error_bounds_complex_double) std::srand(time(nullptr)); for (int j = 0; j < x.size(); ++j) - x(j) = complex64_t{1. + 1. * std::rand() / - std::numeric_limits::max(), - 1. + 1. * std::rand() / - std::numeric_limits::max()}; + x(j) = complex64_t{ + 1. + 1. * std::rand() / std::numeric_limits::max(), + 1. + + 1. * std::rand() / std::numeric_limits::max()}; Loop<0, 52, run_test_error_bounds>::Run(x, y); } @@ -631,7 +632,7 @@ TEST(mxp_truncated_mantissa, device_error_bounds_float) std::srand(time(nullptr)); for (int j = 0; j < h_x.size(); ++j) h_x(j) = 1.f + 1.f * std::rand() / - std::numeric_limits::max(); + std::numeric_limits::max(); gt::gtensor_device x(n); gt::gtensor_device y(n); @@ -668,10 +669,11 @@ TEST(mxp_truncated_mantissa, device_error_bounds_complex_float) std::srand(time(nullptr)); for (int j = 0; j < h_x.size(); ++j) - h_x(j) = complex32_t{1.f + 1.f * std::rand() / - std::numeric_limits::max(), - 1.f + 1.f * std::rand() / - std::numeric_limits::max()}; + h_x(j) = + complex32_t{1.f + 1.f * std::rand() / + std::numeric_limits::max(), + 1.f + 1.f * std::rand() / + std::numeric_limits::max()}; gt::gtensor_device x(n); gt::gtensor_device y(n); @@ -690,10 +692,10 @@ TEST(mxp_truncated_mantissa, device_error_bounds_complex_double) std::srand(time(nullptr)); for (int j = 0; j < h_x.size(); ++j) - h_x(j) = complex64_t{1. + 1. * std::rand() / - std::numeric_limits::max(), - 1. + 1. * std::rand() / - std::numeric_limits::max()}; + h_x(j) = complex64_t{ + 1. + 1. * std::rand() / std::numeric_limits::max(), + 1. + + 1. * std::rand() / std::numeric_limits::max()}; gt::gtensor_device x(n); gt::gtensor_device y(n);