From 6d71b9bd9b02ffd47fdc9afa726623d7dd4b09d7 Mon Sep 17 00:00:00 2001 From: "W. Michael Brown" Date: Fri, 27 May 2011 15:18:56 -0400 Subject: [PATCH] Fixing bug in lj/class2/long/gpu. --- lib/gpu/lj_class2_long.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/gpu/lj_class2_long.cpp b/lib/gpu/lj_class2_long.cpp index 05f3b7a299..b329e95d99 100644 --- a/lib/gpu/lj_class2_long.cpp +++ b/lib/gpu/lj_class2_long.cpp @@ -149,8 +149,9 @@ void LJClass2LongT::loop(const bool _eflag, const bool _vflag) { &this->_nbor_data->begin(), &this->ans->dev_ans.begin(), &this->ans->dev_engv.begin(), &eflag, &vflag, - &nbor_pitch, &this->atom->dev_q.begin(), &_cut_coulsq, - &_qqrd2e, &_g_ewald, &this->_threads_per_atom); + &ainum, &nbor_pitch, &this->atom->dev_q.begin(), + &_cut_coulsq, &_qqrd2e, &_g_ewald, + &this->_threads_per_atom); } else { this->k_pair.set_size(GX,BX); this->k_pair.run(&this->atom->dev_x.begin(), &lj1.begin(), &lj3.begin(),