Skip to content

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
dweindl committed Jul 30, 2021
1 parent 56480a9 commit b0e787c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sundials_matrix_wrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -300,8 +300,8 @@ void SUNMatrixWrapper::multiply(gsl::span<realtype> c,
}
}
} else {
for (std::size_t icols = 0; icols < static_cast<std::size_t>(columns());
++icols) {
auto num_cols = static_cast<std::size_t>(columns());
for (std::size_t icols = 0; icols < num_cols; ++icols) {
auto idx_next_col = get_indexptr(cols.at(icols) + 1);

for (sunindextype idx = get_indexptr(cols.at(icols));
Expand Down

0 comments on commit b0e787c

Please sign in to comment.