Skip to content

Commit

Permalink
Attempt to fix macos tests
Browse files Browse the repository at this point in the history
  • Loading branch information
shssoichiro committed Jan 17, 2023
1 parent e773dbe commit bc171d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/asm/aarch64/dist.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ pub fn get_sad<T: Pixel>(
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();
Expand Down
2 changes: 1 addition & 1 deletion src/asm/x86/dist/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ pub fn get_sad<T: Pixel>(
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();
Expand Down

0 comments on commit bc171d7

Please sign in to comment.