add missing return keywords

This commit is contained in:
Dan Ibanez
2017-01-25 15:37:27 -07:00
parent 60b48c9d66
commit 1074c6734b

View File

@ -147,9 +147,9 @@ void NeighborKokkos::init_ex_mol_bit_kokkos()
int NeighborKokkos::check_distance()
{
if (device_flag)
check_distance_kokkos<LMPDeviceType>();
return check_distance_kokkos<LMPDeviceType>();
else
check_distance_kokkos<LMPHostType>();
return check_distance_kokkos<LMPHostType>();
}
template<class DeviceType>