Skip to content

Commit

Permalink
remove curly brackets
Browse files Browse the repository at this point in the history
  • Loading branch information
DerThorsten committed Oct 14, 2021
1 parent 91a4448 commit 66d5ebf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_complex_float_norm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ namespace xt
{

TEST(xblas, norm_complex_float) {
xt::xarray<std::complex<float>> a = {std::complex<float>({1.0f, 2.0f}), std::complex<float>({3.0f, 4.0f})};
xt::xarray<std::complex<float>> a = {std::complex<float>(1.0f, 2.0f), std::complex<float>(3.0f, 4.0f)};
auto res = linalg::norm(a);

EXPECT_NEAR(res.real(), 5.4772f, 1e-3f);
Expand Down

0 comments on commit 66d5ebf

Please sign in to comment.