Skip to content

Commit

Permalink
Batch - QR: fixing type issue in macro
Browse files Browse the repository at this point in the history
Signed-off-by: Luc <[email protected]>
  • Loading branch information
lucbv committed Oct 8, 2024
1 parent 3cc6d97 commit 4bfb715
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions batched/dense/unit_test/Test_Batched_SerialQR.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,8 @@ void test_QR_rectangular() {
Test::EXPECT_NEAR_KK(A_h(2, 0), static_cast<Scalar>(0.), tol);
Test::EXPECT_NEAR_KK_REL(A_h(2, 1), static_cast<Scalar>(1. / 3.), tol);

Test::EXPECT_NEAR_KK_REL(tau(0), 5. / 8., tol);
Test::EXPECT_NEAR_KK_REL(tau(1), 10. / 18., tol);
Test::EXPECT_NEAR_KK_REL(tau(0), static_cast<Scalar>(5. / 8.), tol);
Test::EXPECT_NEAR_KK_REL(tau(1), static_cast<Scalar>(10. / 18.), tol);

Kokkos::parallel_for(
"serialApplyQ", 1, KOKKOS_LAMBDA(int) {
Expand Down

0 comments on commit 4bfb715

Please sign in to comment.