forked from lijiext/lammps
fix logic error
This commit is contained in:
parent
172bb6050a
commit
6967522a4f
|
@ -176,7 +176,7 @@ void ChangeBox::command(int narg, char **arg)
|
|||
|
||||
int move_atoms = 0;
|
||||
for (int m = 0; m < nops; m++) {
|
||||
if (ops[m].style != ORTHO || ops[m].style != TRICLINIC) move_atoms = 1;
|
||||
if (ops[m].style != ORTHO && ops[m].style != TRICLINIC) move_atoms = 1;
|
||||
}
|
||||
|
||||
// error if moving atoms and there is stored per-atom restart state
|
||||
|
|
Loading…
Reference in New Issue