fix typo
This commit is contained in:
@ -551,7 +551,7 @@ void PairHybrid::init_style()
|
|||||||
// same style must not be used multiple times
|
// same style must not be used multiple times
|
||||||
|
|
||||||
for (istyle = 0; istyle < nstyles; istyle++) {
|
for (istyle = 0; istyle < nstyles; istyle++) {
|
||||||
bool is_gpu = (((PairHybrid *)styles[m])->suffix_flag & Suffix::GPU);
|
bool is_gpu = (((PairHybrid *)styles[istyle])->suffix_flag & Suffix::GPU);
|
||||||
if (multiple[istyle] && is_gpu)
|
if (multiple[istyle] && is_gpu)
|
||||||
error->all(FLERR,"GPU package styles must not be used multiple times");
|
error->all(FLERR,"GPU package styles must not be used multiple times");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user