silence compiler warning

This commit is contained in:
Axel Kohlmeyer
2021-02-26 11:35:26 -05:00
parent 8e63f1ebf5
commit bb13ce4349

View File

@ -1368,11 +1368,11 @@ void FixBondReact::superimpose_algorithm()
}
// reaction site found successfully!
if (status == ACCEPT)
if (status == ACCEPT) {
if (fraction[rxnID] < 1.0 &&
random[rxnID]->uniform() >= fraction[rxnID]) status = REJECT;
else glove_ghostcheck();
}
hang_catch++;
// let's go ahead and catch the simplest of hangs
//if (hang_catch > onemol->natoms*4)