Skip to content

Commit bc171d7

Browse files
committed
Attempt to fix macos tests
1 parent e773dbe commit bc171d7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/asm/aarch64/dist.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ pub fn get_sad<T: Pixel>(
8080
let bsize_opt =
8181
BlockSize::from_width_and_height_opt(src.rect().width, src.rect().height);
8282

83-
let call_rust = || -> u32 { rust::get_sad(dst, src, bit_depth, cpu) };
83+
let call_rust = || -> u32 { rust::get_sad(src, dst, bit_depth, cpu) };
8484

8585
#[cfg(feature = "check_asm")]
8686
let ref_dist = call_rust();

src/asm/x86/dist/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ pub fn get_sad<T: Pixel>(
172172
let bsize_opt =
173173
BlockSize::from_width_and_height_opt(src.rect().width, src.rect().height);
174174

175-
let call_rust = || -> u32 { rust::get_sad(dst, src, bit_depth, cpu) };
175+
let call_rust = || -> u32 { rust::get_sad(src, dst, bit_depth, cpu) };
176176

177177
#[cfg(feature = "check_asm")]
178178
let ref_dist = call_rust();

0 commit comments

Comments
 (0)