From 3f46b6d7829a37664f71e107a7dbb2c4957f9b21 Mon Sep 17 00:00:00 2001
From: Axel Kohlmeyer <akohlmey@gmail.com>
Date: Mon, 16 Jan 2017 11:15:54 -0500
Subject: [PATCH] fix bugs from incorrect code synchronization

---
 src/KSPACE/pair_buck_long_coul_long.cpp | 1 -
 src/KSPACE/pair_lj_long_coul_long.cpp   | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/KSPACE/pair_buck_long_coul_long.cpp b/src/KSPACE/pair_buck_long_coul_long.cpp
index 86c9926710..eb311fe3db 100644
--- a/src/KSPACE/pair_buck_long_coul_long.cpp
+++ b/src/KSPACE/pair_buck_long_coul_long.cpp
@@ -53,7 +53,6 @@ PairBuckLongCoulLong::PairBuckLongCoulLong(LAMMPS *lmp) : Pair(lmp)
   writedata = 1;
   ftable = NULL;
   fdisptable = NULL;
-  qdist = 0.0;
 }
 
 /* ----------------------------------------------------------------------
diff --git a/src/KSPACE/pair_lj_long_coul_long.cpp b/src/KSPACE/pair_lj_long_coul_long.cpp
index f4c48a5bfe..90d517ca28 100644
--- a/src/KSPACE/pair_lj_long_coul_long.cpp
+++ b/src/KSPACE/pair_lj_long_coul_long.cpp
@@ -247,7 +247,7 @@ void PairLJLongCoulLong::init_style()
   // setup force tables
 
   if (ncoultablebits && (ewald_order&(1<<1))) init_tables(cut_coul,cut_respa);
-  if (ndisptablebits && (ewald_order&(1<<6))) init_tables_disp(cut_buck_global);
+  if (ndisptablebits && (ewald_order&(1<<6))) init_tables_disp(cut_lj_global);
 
   // request regular or rRESPA neighbor lists if neighrequest_flag != 0
 
-- 
GitLab