diff --git a/src/ML-IAP/pair_mliap.cpp b/src/ML-IAP/pair_mliap.cpp index 4858c7e0ea..ecf216e8e0 100644 --- a/src/ML-IAP/pair_mliap.cpp +++ b/src/ML-IAP/pair_mliap.cpp @@ -361,6 +361,7 @@ double PairMLIAP::init_one(int i, int j) "All pair coeffs are not set. Status\n" + Info::get_pair_coeff_status(lmp)); double cutmax = sqrt(descriptor->cutsq[map[i]][map[j]]); + if (ghostneigh) cutghost[i][j] = cutghost[j][i] = cutmax; return cutmax; }