Skip to content

Commit 1ff8032

Browse files
keypoints.rs - Remove unneeded reference
1 parent 02223d7 commit 1ff8032

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rust/mmscenegraph/src/curve/detect/keypoints.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ fn pick_keypoints(
449449
}
450450

451451
// Sort with stable handling of NaN (highest importance first)
452-
all_keypoints.sort_by(|a, b| match b.partial_cmp(&a) {
452+
all_keypoints.sort_by(|a, b| match b.partial_cmp(a) {
453453
Some(ordering) => ordering,
454454
None => Ordering::Equal, // Handle NaN case
455455
});

0 commit comments

Comments
 (0)