From 6967522a4fef8aa36268299cabf711023c977845 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Fri, 25 Sep 2020 22:08:28 -0400 Subject: [PATCH] fix logic error --- src/change_box.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/change_box.cpp b/src/change_box.cpp index 1bd3fe733f..a214a56969 100644 --- a/src/change_box.cpp +++ b/src/change_box.cpp @@ -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