diff --git a/src/ML-SNAP/compute_sna_grid.cpp b/src/ML-SNAP/compute_sna_grid.cpp index 8247771493..5ea49469e2 100644 --- a/src/ML-SNAP/compute_sna_grid.cpp +++ b/src/ML-SNAP/compute_sna_grid.cpp @@ -255,7 +255,6 @@ void ComputeSNAGrid::compute_array() int ielem = 0; if (chemflag) ielem = map[itype]; - const double radi = radelem[itype]; // rij[][3] = displacements between atom I and those neighbors // inside = indices of neighbors of I within cutoff diff --git a/src/ML-SNAP/compute_sna_grid_local.cpp b/src/ML-SNAP/compute_sna_grid_local.cpp index 70b5b362d8..614880043c 100644 --- a/src/ML-SNAP/compute_sna_grid_local.cpp +++ b/src/ML-SNAP/compute_sna_grid_local.cpp @@ -254,7 +254,6 @@ void ComputeSNAGridLocal::compute_local() int ielem = 0; if (chemflag) ielem = map[itype]; - const double radi = radelem[itype]; // rij[][3] = displacements between atom I and those neighbors // inside = indices of neighbors of I within cutoff