From d4a495151e53744ecafa1c40f1f4dd894447c2e1 Mon Sep 17 00:00:00 2001 From: mkanski Date: Wed, 3 Apr 2019 19:40:40 +0200 Subject: [PATCH] Simplify access to error in reax/c/omp --- src/USER-OMP/pair_reaxc_omp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/USER-OMP/pair_reaxc_omp.cpp b/src/USER-OMP/pair_reaxc_omp.cpp index 9e198186fd..92ba31048d 100644 --- a/src/USER-OMP/pair_reaxc_omp.cpp +++ b/src/USER-OMP/pair_reaxc_omp.cpp @@ -113,7 +113,7 @@ PairReaxCOMP::~PairReaxCOMP() if (setup_flag) { reax_list * bonds = lists+BONDS; for (int i=0; inum_intrs; ++i) - sfree(LAMMPS_NS::Pointers::lmp->error, bonds->select.bond_list[i].bo_data.CdboReduction, "CdboReduction"); + sfree(error, bonds->select.bond_list[i].bo_data.CdboReduction, "CdboReduction"); } memory->destroy(num_nbrs_offset);