fix bug in tester for atom style tri

This commit is contained in:
Axel Kohlmeyer
2020-07-13 21:49:18 -04:00
parent 5a73b1de98
commit ea1d447703

View File

@ -2540,6 +2540,7 @@ TEST_F(AtomStyleTest, tri)
type = lmp->atom->type;
tri = lmp->atom->tri;
rmass = lmp->atom->rmass;
radius = lmp->atom->radius;
avec = (AtomVecTri *)lmp->atom->avec;
bonus = avec->bonus;
ASSERT_EQ(type[GETIDX(1)], 1);