diff --git a/lammps_plugins/kokkos/pair_flare_kokkos.cpp b/lammps_plugins/kokkos/pair_flare_kokkos.cpp index 421aaf24..8c0dabe9 100644 --- a/lammps_plugins/kokkos/pair_flare_kokkos.cpp +++ b/lammps_plugins/kokkos/pair_flare_kokkos.cpp @@ -737,8 +737,8 @@ void PairFLAREKokkos::init_style() // always request a full neighbor list - if (neighflag != HALF) { - error->all(FLERR,"Cannot use chosen neighbor list style with pair flare/kk"); + if (neighflag == FULL) { + error->all(FLERR,"pair flare/kk requires 'newton on neigh half'"); } // get available memory from environment variable,