Skip to content

Commit

Permalink
BsrMatrix: Fix HostMirror typedef (#2196)
Browse files Browse the repository at this point in the history
It needed to have size_type.
  • Loading branch information
jgfouca authored May 3, 2024
1 parent 66ef193 commit a5794bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sparse/src/KokkosSparse_BsrMatrix.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,8 @@ class BsrMatrix {
typedef SizeType size_type;

//! Type of a host-memory mirror of the sparse matrix.
typedef BsrMatrix<ScalarType, OrdinalType, host_mirror_space, MemoryTraits>
typedef BsrMatrix<ScalarType, OrdinalType, host_mirror_space, MemoryTraits,
size_type>
HostMirror;
//! Type of the graph structure of the sparse matrix.
typedef Kokkos::StaticCrsGraph<ordinal_type, Kokkos::LayoutLeft, device_type,
Expand Down

0 comments on commit a5794bb

Please sign in to comment.