diff --git a/src/KOKKOS/pair_reaxc_kokkos.cpp b/src/KOKKOS/pair_reaxc_kokkos.cpp index 33d4d5e94c..5326e926e5 100644 --- a/src/KOKKOS/pair_reaxc_kokkos.cpp +++ b/src/KOKKOS/pair_reaxc_kokkos.cpp @@ -152,14 +152,12 @@ void PairReaxCKokkos::init_style() neighbor->requests[irequest]-> kokkos_device = std::is_same::value; - if (neighflag == FULL) { - error->all(FLERR,"Must use half neighbor list with pair style reax/c/kk"); - } else if (neighflag == HALF || neighflag == HALFTHREAD) { + if (neighflag == HALF || neighflag == HALFTHREAD) { neighbor->requests[irequest]->full = 0; neighbor->requests[irequest]->half = 1; neighbor->requests[irequest]->ghost = 1; } else { - error->all(FLERR,"Cannot use chosen neighbor list style with reax/c/kk"); + error->all(FLERR,"Must use half neighbor list with pair style reax/c/kk"); } allocate();