diff --git a/blas/src/KokkosBlas2_ger.hpp b/blas/src/KokkosBlas2_ger.hpp index 881b75bbb8..62d4d0fec5 100644 --- a/blas/src/KokkosBlas2_ger.hpp +++ b/blas/src/KokkosBlas2_ger.hpp @@ -60,8 +60,8 @@ void ger(const ExecutionSpace& space, const char trans[], const typename AViewTy static_assert(std::is_same_v, "ger: AViewType must store non const values."); - // Check compatibility of dimensions at run time. - if ((A.extent(0) != x.extent(0)) || (A.extent(1) != y.extent(0))) { + // Check compatibility of dimensions at run time. + if ((A.extent(0) != x.extent(0)) || (A.extent(1) != y.extent(0))) { std::ostringstream os; os << "KokkosBlas::ger: Dimensions of A, x, and y do not match: " << "A is " << A.extent(0) << " by " << A.extent(1) << ", x has size " << x.extent(0) << ", y has size " diff --git a/blas/src/KokkosBlas3_trmm.hpp b/blas/src/KokkosBlas3_trmm.hpp index bc36b08023..62226cefe7 100644 --- a/blas/src/KokkosBlas3_trmm.hpp +++ b/blas/src/KokkosBlas3_trmm.hpp @@ -67,9 +67,10 @@ template void trmm(const execution_space& space, const char side[], const char uplo[], const char trans[], const char diag[], typename BViewType::const_value_type& alpha, const AViewType& A, const BViewType& B) { static_assert(Kokkos::is_execution_space_v, - "trmm: execution_space must be a Kokkos::execution_space."); static_assert(Kokkos::is_view_v, - "trmm: AViewType must be a " - "Kokkos::View."); + "trmm: execution_space must be a Kokkos::execution_space."); + static_assert(Kokkos::is_view_v, + "trmm: AViewType must be a " + "Kokkos::View."); static_assert(Kokkos::is_view_v, "trmm: BViewType must be a Kokkos::View."); static_assert(static_cast(AViewType::rank) == 2, "trmm: AViewType must have rank 2."); static_assert(static_cast(BViewType::rank) == 2, "trmm: BViewType must have rank 2.");