From 130e403843fced8efe51a7a54f48817d47d71dac Mon Sep 17 00:00:00 2001 From: Matt Dawson Date: Tue, 31 Dec 2024 16:11:59 -0700 Subject: [PATCH] fix test logic --- test/unit/cuda/util/test_cuda_dense_matrix.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/unit/cuda/util/test_cuda_dense_matrix.cpp b/test/unit/cuda/util/test_cuda_dense_matrix.cpp index 1e7f08ddb..14222178b 100644 --- a/test/unit/cuda/util/test_cuda_dense_matrix.cpp +++ b/test/unit/cuda/util/test_cuda_dense_matrix.cpp @@ -623,10 +623,10 @@ TEST(CudaDenseMatrix, TestMin) matrix.Min(2.0); matrix.CopyToHost(); - EXPECT_EQ(matrix[0][0], 2.0); - EXPECT_EQ(matrix[0][1], 2.0); - EXPECT_EQ(matrix[0][2], 2.0); - EXPECT_EQ(matrix[1][0], 2.0); + EXPECT_EQ(matrix[0][0], 1.0); + EXPECT_EQ(matrix[0][1], 1.0); + EXPECT_EQ(matrix[0][2], 1.0); + EXPECT_EQ(matrix[1][0], 1.0); EXPECT_EQ(matrix[1][1], 2.0); - EXPECT_EQ(matrix[1][2], 2.0); + EXPECT_EQ(matrix[1][2], 1.0); } \ No newline at end of file