Skip to content

Commit f69e4f7

Browse files
committed
maybeRebuildPairList fixed when matters are involved
1 parent 36c1abd commit f69e4f7

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/chem/energyNonbond.cc

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1187,12 +1187,6 @@ void EnergyNonbond_O::constructNonbondTermsFromAtomTable(AtomTable_sp atomTable,
11871187

11881188
CL_DEFMETHOD
11891189
core::T_mv EnergyNonbond_O::maybeRebuildPairList(core::T_sp tcoordinates) {
1190-
// If the nonbond pairs are between two matters then don't rebuild the pair-list
1191-
if (this->_Matter1.notnilp()) {
1192-
ASSERT(this->_Matter2.notnilp());
1193-
return Values0<core::T_O>();
1194-
}
1195-
11961190
auto coords = gc::As<NVector_sp>(tcoordinates);
11971191
if (this->_DisplacementBuffer.nilp()) {
11981192
return this->rebuildPairList(tcoordinates);

0 commit comments

Comments
 (0)