Skip to content

Commit

Permalink
Move comment a bit
Browse files Browse the repository at this point in the history
Co-authored-by: FG-TUM <[email protected]>
  • Loading branch information
HomesGH and FG-TUM authored Jul 29, 2024
1 parent ca1d39e commit ced2880
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/molecules/mixingrules/MixingRuleBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ class MixingRuleBase {
} else if ((cid1 <= 0) or (cid2 <= 0)) {
Log::global_log->error() << "Mixing rules: cid1 and cid2 must be greater than zero" << std::endl;
mardyn_exit(1);
} else if (cid1 > cid2) {
// Symmetry for mixing rules is assumed
// cid1 must be less than cid2
} else if (cid1 > cid2) {
_cid1 = cid2 - 1; // component id - 1 to convert to internal format starting with 0
_cid2 = cid1 - 1;
} else {
Expand Down

0 comments on commit ced2880

Please sign in to comment.