Skip to content

Commit

Permalink
Merge pull request #1080 from ndellingwood/fix-werror-bsr
Browse files Browse the repository at this point in the history
KokkosSparse_BsrMatrix.hpp: Silence unused parameter warnings
  • Loading branch information
ndellingwood authored Aug 12, 2021
2 parents 5905f84 + 8f783ac commit c151fbb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/sparse/KokkosSparse_BsrMatrix.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,8 @@ class BsrMatrix {
size_type annz, ScalarType* val, OrdinalType* rows,
OrdinalType* cols, OrdinalType blockdim, bool pad = false)
{
(void)label;
(void)pad;
blockDim_ = blockdim;

if ((ncols % blockDim_ != 0) || (nrows % blockDim_ != 0)) {
Expand Down

0 comments on commit c151fbb

Please sign in to comment.