Skip to content

Commit

Permalink
Tacho - fix for warning as error
Browse files Browse the repository at this point in the history
  • Loading branch information
kyungjoo-kim committed Jan 31, 2020
1 parent b48e9ac commit 3196351
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/shylu/shylu_node/tacho/src/Tacho_CrsMatrixBase.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ namespace Tacho {
const CrsMatrixType &B,
const OrdinalTypeArray &p,
const OrdinalTypeArray &ip) {
const ordinal_type m = A.NumRows(), n = A.NumCols();
const ordinal_type m = A.NumRows();//, n = A.NumCols();
typedef typename CrsMatrixType::exec_space exec_space;
typedef typename CrsMatrixType::exec_memory_space exec_memory_space;

Expand Down Expand Up @@ -343,8 +343,8 @@ namespace Tacho {
kend = ap(i+1),
nk = kend - kbeg,
row = perm(i), /// row in B
colbeg = B.RowPtrBegin(row),
colend = B.RowPtrEnd(row);
colbeg = B.RowPtrBegin(row);
//colend = B.RowPtrEnd(row);

Kokkos::parallel_for
(Kokkos::TeamVectorRange(member, nk),
Expand Down

0 comments on commit 3196351

Please sign in to comment.