The entries of the perturbation_labels argument to solve_lmde_perturbation were being re-ordered erroneously by the helper function _clean_multisets in a validation check. This PR ensures the original ordering is preserved during the validation check.
Summary
The entries of the
perturbation_labels
argument tosolve_lmde_perturbation
were being re-ordered erroneously by the helper function_clean_multisets
in a validation check. This PR ensures the original ordering is preserved during the validation check.