Skip to content

Commit

Permalink
Merge pull request #1923 from cwpearson/fix/1915
Browse files Browse the repository at this point in the history
remove triplicate sanity checks in BsrMatrix
  • Loading branch information
lucbv authored Jul 31, 2023
2 parents 48757f0 + 18bcdaf commit ceb872d
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions sparse/src/KokkosSparse_BsrMatrix.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -522,16 +522,6 @@ class BsrMatrix {
"BsrMatrix:: annz should be a multiple of the number of entries in a "
"block");
}
if (annz % (blockDim_ * blockDim_)) {
throw std::runtime_error(
"BsrMatrix:: annz should be a multiple of the number of entries in a "
"block");
}
if (annz % (blockDim_ * blockDim_)) {
throw std::runtime_error(
"BsrMatrix:: annz should be a multiple of the number of entries in a "
"block");
}

using Coord = std::pair<OrdinalType, OrdinalType>; // row, col
using CoordComp = std::function<bool(
Expand Down

0 comments on commit ceb872d

Please sign in to comment.