Skip to content

Commit

Permalink
Remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
pghysels committed Apr 14, 2023
1 parent 515b9f1 commit acf3579
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/SparseSolver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -251,8 +251,8 @@ namespace strumpack {
if (ierr != ReturnCode::SUCCESS) return ierr;
}

integer_t N = matrix()->size(), d = b.cols();
assert(N < std::numeric_limits<int>::max());
integer_t d = b.cols();
assert(matrix()->size() < std::numeric_limits<int>::max());
DenseM_t bloc(b.rows(), d);

auto spmv = [&](const scalar_t* x, scalar_t* y)
Expand Down

0 comments on commit acf3579

Please sign in to comment.