From 58a86412ec347c5a1848294754c91f68ce820189 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Tue, 17 Aug 2021 16:26:59 -0400 Subject: [PATCH] recover compilation --- src/INTERLAYER/pair_ilp_graphene_hbn.cpp | 2 +- src/INTERLAYER/pair_kolmogorov_crespi_full.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/INTERLAYER/pair_ilp_graphene_hbn.cpp b/src/INTERLAYER/pair_ilp_graphene_hbn.cpp index 7b6469b705..e4d72e7fe6 100644 --- a/src/INTERLAYER/pair_ilp_graphene_hbn.cpp +++ b/src/INTERLAYER/pair_ilp_graphene_hbn.cpp @@ -260,7 +260,7 @@ void PairILPGrapheneHBN::read_file(char *filename) // energies in meV further scaled by S // S = 43.3634 meV = 1 kcal/mol - const double meV = 1e-3*params[nparams].S; + double meV = 1e-3*params[nparams].S; if (unit_convert) meV *= conversion_factor; params[nparams].C *= meV; diff --git a/src/INTERLAYER/pair_kolmogorov_crespi_full.cpp b/src/INTERLAYER/pair_kolmogorov_crespi_full.cpp index d27a99098f..99896846df 100644 --- a/src/INTERLAYER/pair_kolmogorov_crespi_full.cpp +++ b/src/INTERLAYER/pair_kolmogorov_crespi_full.cpp @@ -257,7 +257,7 @@ void PairKolmogorovCrespiFull::read_file(char *filename) // energies in meV further scaled by S - const double meV = 1.0e-3*params[nparams].S; + double meV = 1.0e-3*params[nparams].S; if (unit_convert) meV *= conversion_factor; params[nparams].C *= meV;