Skip to content

Commit

Permalink
stokhos: update needed when kokkos deprecated code off
Browse files Browse the repository at this point in the history
Remove additional argument to view ctor.
 Changes to be committed:
	modified:   stokhos/src/sacado/kokkos/Stokhos_Tpetra_Utilities.hpp
  • Loading branch information
ndellingwood committed Feb 4, 2019
1 parent cf830ca commit 05a91ff
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ namespace Stokhos {

GetScalarMeanValsFunc(const ViewType& vals_) : vals(vals_) {
const size_type nnz = vals.extent(0);
mean_vals = MeanViewType("mean-values", nnz, 1);
mean_vals = MeanViewType("mean-values", nnz);
Kokkos::parallel_for( nnz, *this );
}

Expand Down Expand Up @@ -213,7 +213,7 @@ namespace Stokhos {
vals(vals_), vec_size(Kokkos::dimension_scalar(vals))
{
const size_type nnz = vals.extent(0);
mean_vals = ViewType("mean-values", nnz, 1);
mean_vals = ViewType("mean-values", nnz);
Kokkos::parallel_for( nnz, *this );
}

Expand Down

0 comments on commit 05a91ff

Please sign in to comment.