diff --git a/lapack/unit_test/Test_Lapack_geqrf.hpp b/lapack/unit_test/Test_Lapack_geqrf.hpp index 7453e2fb3e..0ec9d2679a 100644 --- a/lapack/unit_test/Test_Lapack_geqrf.hpp +++ b/lapack/unit_test/Test_Lapack_geqrf.hpp @@ -191,7 +191,8 @@ void getQR(int const m, int const n, typename ViewTypeA::HostMirror const& h_A, template void impl_test_geqrf(int m, int n) { - using ViewTypeInfo = Kokkos::View; + using ALayout_t = typename ViewTypeA::array_layout; + using ViewTypeInfo = Kokkos::View; using execution_space = typename Device::execution_space; using ScalarA = typename ViewTypeA::value_type; using ats = Kokkos::ArithTraits;