Fixing issue in fix_wall_lj93_kokkos

This commit is contained in:
Stan Moore
2017-03-03 10:49:15 -07:00
parent a7e8550962
commit c468727db0

View File

@ -61,7 +61,7 @@ struct FixWallLJ93KokkosFunctor {
FixWallLJ93Kokkos<DeviceType> c;
FixWallLJ93KokkosFunctor(FixWallLJ93Kokkos<DeviceType>* c_ptr):
c(*c_ptr),
value_count(c.m) {}
value_count(c_ptr->m+1) {}
KOKKOS_INLINE_FUNCTION
void operator()(const int i, value_type ewall) const {
c.wall_particle_item(i,ewall);