avoid false positive

This commit is contained in:
Axel Kohlmeyer
2020-06-18 12:39:40 -04:00
parent 786473a189
commit 5e597e551b

View File

@ -48,6 +48,7 @@ protected:
// check if the prerequisite eim pair style is available
Info *info = new Info(lmp);
ASSERT_TRUE(info->has_style("pair", "eim"));
delete info;
int npair = nelements * (nelements + 1) / 2;
setfl.ielement = new int[nelements];