Skip to content

Commit

Permalink
fix invalid comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
upsj committed Nov 27, 2023
1 parent 265c9f2 commit 096fd1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/matrix/matrix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1234,7 +1234,7 @@ TYPED_TEST(Matrix, DeviceReadMoveIsEquivalentToHostRef)
dev_result->read(std::move(ref_device_data));

ASSERT_EQ(ref_device_data.get_size(), gko::dim<2>{});
ASSERT_EQ(ref_device_data.get_num_elems(), gko::dim<2>{});
ASSERT_EQ(ref_device_data.get_num_elems(), 0);
GKO_ASSERT_MTX_NEAR(ref_result, dev_result, 0.0);
GKO_ASSERT_MTX_EQ_SPARSITY(ref_result, dev_result);
});
Expand Down

0 comments on commit 096fd1a

Please sign in to comment.