Skip to content

Commit

Permalink
BsrMatrix: Fix HostMirror typedef
Browse files Browse the repository at this point in the history
It needed to have size_type.
  • Loading branch information
jgfouca committed May 3, 2024
1 parent 88ae8f1 commit 16a9873
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sparse/src/KokkosSparse_BsrMatrix.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ 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 16a9873

Please sign in to comment.