From 98994efdc75bb0d5b62ee3bcc0799b06edc266b8 Mon Sep 17 00:00:00 2001 From: Josh Holmer Date: Tue, 17 Jan 2023 02:04:42 -0500 Subject: [PATCH] Attempt to fix macos tests --- src/asm/aarch64/dist.rs | 2 +- src/asm/x86/dist/mod.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/asm/aarch64/dist.rs b/src/asm/aarch64/dist.rs index c8d01de197..cb97504469 100644 --- a/src/asm/aarch64/dist.rs +++ b/src/asm/aarch64/dist.rs @@ -80,7 +80,7 @@ pub fn get_sad( let bsize_opt = BlockSize::from_width_and_height_opt(src.rect().width, src.rect().height); - let call_rust = || -> u32 { rust::get_sad(dst, src, bit_depth, cpu) }; + let call_rust = || -> u32 { rust::get_sad(src, dst, bit_depth, cpu) }; #[cfg(feature = "check_asm")] let ref_dist = call_rust(); diff --git a/src/asm/x86/dist/mod.rs b/src/asm/x86/dist/mod.rs index 246b985ca2..97d4f2b117 100644 --- a/src/asm/x86/dist/mod.rs +++ b/src/asm/x86/dist/mod.rs @@ -172,7 +172,7 @@ pub fn get_sad( let bsize_opt = BlockSize::from_width_and_height_opt(src.rect().width, src.rect().height); - let call_rust = || -> u32 { rust::get_sad(dst, src, bit_depth, cpu) }; + let call_rust = || -> u32 { rust::get_sad(src, dst, bit_depth, cpu) }; #[cfg(feature = "check_asm")] let ref_dist = call_rust();