Skip to content

Commit

Permalink
enabled inverse for SortDown
Browse files Browse the repository at this point in the history
  • Loading branch information
kaikalii committed Sep 13, 2024
1 parent a63a07a commit b6821e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/algorithm/invert.rs
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ static INVERT_PATTERNS: &[&dyn InvertPattern] = {
&pat!(Pick, (Dup, Shape, Range)),
&pat!(Orient, (Dup, Shape, Len, Range)),
&pat!(Sort, (Rand, Deal)),
&pat!(SortDown, (Rand, Deal)),
&InvertPatternFn(invert_on_inv_pattern, "on inverse"),
&InvertPatternFn(invert_push_temp_pattern, "push temp"),
&InvertPatternFn(invert_copy_temp_pattern, "copy temp"),
Expand Down

0 comments on commit b6821e3

Please sign in to comment.