Skip to content

Commit

Permalink
Merge d64469b into 5cae3f2
Browse files Browse the repository at this point in the history
  • Loading branch information
Upabjojr committed Dec 19, 2020
2 parents 5cae3f2 + d64469b commit 3ea368b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion matchpy/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def _substitute(expression: Expression, substitution: Substitution) -> Tuple[Rep
if isinstance(result, (list, tuple)):
new_operands.extend(result)
elif isinstance(result, Multiset):
new_operands.extend(sorted(result))
new_operands.extend(result)
else:
new_operands.append(result)
if any_replaced:
Expand Down

0 comments on commit 3ea368b

Please sign in to comment.