diff --git a/sparse/impl/KokkosSparse_sort_crs_impl.hpp b/sparse/impl/KokkosSparse_sort_crs_impl.hpp index ede1a839e7..096d772ab5 100644 --- a/sparse/impl/KokkosSparse_sort_crs_impl.hpp +++ b/sparse/impl/KokkosSparse_sort_crs_impl.hpp @@ -256,9 +256,8 @@ Kokkos::View generateBulkCrsKeys(const ExecSpace& exec, co template Kokkos::View computeEntryPermutation( const ExecSpace& exec, const Rowmap& rowmap, const Entries& entries, typename Entries::non_const_value_type ncols) { - using Offset = typename Rowmap::non_const_value_type; - using Ordinal = typename Entries::non_const_value_type; - auto keys = generateBulkCrsKeys(exec, rowmap, entries, ncols); + using Offset = typename Rowmap::non_const_value_type; + auto keys = generateBulkCrsKeys(exec, rowmap, entries, ncols); Kokkos::View permutation(Kokkos::view_alloc(Kokkos::WithoutInitializing, "permutation"), entries.extent(0)); // This initializes permutation as the identity