Skip to content
Snippets Groups Projects
Commit d7c0da22 authored by Matthew Andrew's avatar Matthew Andrew
Browse files

Updated MuonAsymmetry validity checks Re #23642

parent 77d95f4c
No related branches found
No related tags found
No related merge requests found
......@@ -246,7 +246,7 @@ void MuonPairingAsymmetry::validateManualGroups(
"A valid grouping must be supplied (e.g. \"1,2,3,4,5\").";
}
if (std::is_permutation(group1.begin(), group1.end(), group2.begin())) {
if (group1 == group2) {
errors["Group1"] = "The two groups must be different.";
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment