Commit 9daf7fb6 authored by Dan Ibanez's avatar Dan Ibanez
Browse files

pppm_kokkos: don't shadow member variables

parent b5d622c6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2827,8 +2827,8 @@ void PPPMKokkos<DeviceType>::unpack_reverse_kokkos(int flag, Kokkos::DualView<FF
  d_list_index = Kokkos::subview(d_list,index,Kokkos::ALL());
  d_buf = k_buf.view<DeviceType>();

  int nx = (nxhi_out-nxlo_out+1);
  int ny = (nyhi_out-nylo_out+1);
  nx = (nxhi_out-nxlo_out+1);
  ny = (nyhi_out-nylo_out+1);

  copymode = 1;
  Kokkos::parallel_for(Kokkos::RangePolicy<DeviceType, TagPPPM_unpack_reverse>(0,nlist),*this);