We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6197143 commit 060a489Copy full SHA for 060a489
1 file changed
src/integrate/integrate.cu
@@ -57,12 +57,12 @@ void Integrate::initialize(
57
if (fixed_group < 0) {
58
PRINT_INPUT_ERROR("It is not allowed to have moving group but no fixed group.");
59
}
60
- if (move_group == fixed_group && move_grouping_method == fixed_grouping_method) {
61
- PRINT_INPUT_ERROR("The fixed and moving groups cannot be the same.");
62
- }
63
if (fixed_grouping_method != move_grouping_method) {
64
PRINT_INPUT_ERROR("The fixed and moving groups must use the same grouping method.");
65
+ if (move_group == fixed_group) {
+ PRINT_INPUT_ERROR("The fixed and moving groups cannot be the same.");
+ }
66
if (type != 1 && type != 2 && type != 4 && type != 22) {
67
PRINT_INPUT_ERROR(
68
"It is only allowed to use nvt_ber, nvt_nhc, or nvt_bdp with a moving group.");
0 commit comments