Skip to content

Commit

Permalink
Fixing an issue with transpose in SerialQR unit-test
Browse files Browse the repository at this point in the history
  • Loading branch information
lucbv committed Nov 5, 2024
1 parent 690f257 commit 18fc349
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion batched/dense/unit_test/Test_Batched_SerialQR.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ struct qrFunctor {
// Now apply Q' to Q
w(0) = 0.0, w(1) = 0.0;
// KokkosBatched::SerialApplyQ<Side::Left, Trans::Transpose, Algo::ApplyQ::Unblocked>::invoke(A, tau, Q, w);
KokkosBatched::SerialApplyQ<Side::Left, Trans::NoTranspose, Algo::ApplyQ::Unblocked>::invoke(A, tau, Q, w);
KokkosBatched::SerialApplyQ<Side::Left, Trans::Transpose, Algo::ApplyQ::Unblocked>::invoke(A, tau, Q, w);
Kokkos::printf("\nQ stores Q'Q=I\nQ%d = [%5.2f, %5.2f, %5.2f]\n [%5.2f, %5.2f, %5.2f]\n [%5.2f, %5.2f, %5.2f]\n",
matIdx, Q(0, 0), Q(0, 1), Q(0, 2), Q(1, 0), Q(1, 1), Q(1, 2), Q(2, 0), Q(2, 1), Q(2, 2));

Expand Down

0 comments on commit 18fc349

Please sign in to comment.