Skip to content

Commit

Permalink
Commented out COV
Browse files Browse the repository at this point in the history
  • Loading branch information
Drew Hubley committed Jul 7, 2024
1 parent 43170d1 commit 5cb0013
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions test/test_xmath.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -894,14 +894,14 @@ namespace xt
}
}

TEST(xmath, cov)
{
xt::xarray<double> x = {0.0, 1.0, 2.0};
xt::xarray<double> y = {2.0, 1.0, 0.0};
xt::xarray<double> expected = {{1.0, -1.0}, {-1.0, 1.0}};

EXPECT_EQ(expected, xt::cov(x, y));
}
// TEST(xmath, cov)
// {
// xt::xarray<double> x = {0.0, 1.0, 2.0};
// xt::xarray<double> y = {2.0, 1.0, 0.0};
// xt::xarray<double> expected = {{1.0, -1.0}, {-1.0, 1.0}};

// EXPECT_EQ(expected, xt::cov(x, y));
// }

TEST(xmath, convolve_full)
{
Expand Down

0 comments on commit 5cb0013

Please sign in to comment.