Skip to content

Commit

Permalink
Resolving MueLu warnings with gcc 7.2.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
CamelliaDPG committed Dec 15, 2020
1 parent 8700ed7 commit 2260e18
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ namespace Intrepid2 {
auto data = jacobian.getUnderlyingView1();
auto detData = jacobianDet.getUnderlyingView1();
Kokkos::parallel_for(Kokkos::RangePolicy<ExecSpaceType>(0,1),
KOKKOS_LAMBDA (const int &i) {
KOKKOS_LAMBDA (const int &dummyArg) {
const int blockWidth = jacobian.blockPlusDiagonalLastNonDiagonal() + 1;
const int numDiagonals = jacobian.extent_int(2) - blockWidth * blockWidth;
const int spaceDim = blockWidth + numDiagonals;
Expand Down Expand Up @@ -670,7 +670,7 @@ namespace Intrepid2 {
auto invData = jacobianInv.getUnderlyingView1();

Kokkos::parallel_for(Kokkos::RangePolicy<ExecSpaceType>(0,1),
KOKKOS_LAMBDA (const int &i) {
KOKKOS_LAMBDA (const int &dummyArg) {
const int blockWidth = jacobian.blockPlusDiagonalLastNonDiagonal() + 1;
const int numDiagonals = data.extent_int(0) - blockWidth * blockWidth;
const int spaceDim = blockWidth + numDiagonals;
Expand Down

0 comments on commit 2260e18

Please sign in to comment.