Skip to content

Commit

Permalink
Remove unused local variables
Browse files Browse the repository at this point in the history
  • Loading branch information
hkthorn committed Oct 4, 2024
1 parent 26bbf76 commit dc7541f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,6 @@ namespace Stokhos {

KokkosMatrixType kokkos_matrix = A.getLocalMatrixDevice();
KokkosMatrixValuesType matrix_values = kokkos_matrix.values;
const size_t ncols = kokkos_matrix.numCols();
typedef GetMeanValsFunc <KokkosMatrixValuesType > MeanFunc;
typedef typename MeanFunc::MeanViewType KokkosMeanMatrixValuesType;
MeanFunc meanfunc(matrix_values);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,6 @@ checkStatus (Iteration<ScalarType,MV,OP>* iSolver)
using Teuchos::RCP;

const MagnitudeType zero = STM::zero ();
const MagnitudeType one = STM::one ();
const LinearProblem<ScalarType,MV,OP>& lp = iSolver->getProblem ();

// Compute scaling term (done once for each block that's being solved)
Expand Down

0 comments on commit dc7541f

Please sign in to comment.