Skip to content

Commit

Permalink
fix error check
Browse files Browse the repository at this point in the history
  • Loading branch information
anjohan committed Oct 10, 2024
1 parent e316519 commit 8884a87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lammps_plugins/kokkos/pair_flare_kokkos.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -737,8 +737,8 @@ void PairFLAREKokkos<DeviceType>::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,
Expand Down

0 comments on commit 8884a87

Please sign in to comment.