Skip to content

Commit 02ba68b

Browse files
authored
Merge pull request #79 from awxkee/f16
Small refactor
2 parents cbb7bbf + 2022e74 commit 02ba68b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/box_filter/box_blur.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ fn box_blur_vertical_pass_impl<T, J>(
573573

574574
trait BoxBlurVerticalPass<T> {
575575
#[allow(clippy::type_complexity)]
576-
fn get_box_vertical_pass<const CHANNELS_CONFIGURATION: usize>() -> fn(
576+
fn get_box_vertical_pass<const CN: usize>() -> fn(
577577
src: &[T],
578578
src_stride: u32,
579579
unsafe_dst: &UnsafeSlice<T>,
@@ -589,7 +589,7 @@ trait BoxBlurVerticalPass<T> {
589589
#[cfg(feature = "nightly_f16")]
590590
impl BoxBlurVerticalPass<f16> for f16 {
591591
#[allow(clippy::type_complexity)]
592-
fn get_box_vertical_pass<const CHANNELS_CONFIGURATION: usize>(
592+
fn get_box_vertical_pass<const CN: usize>(
593593
) -> fn(&[f16], u32, &UnsafeSlice<f16>, u32, u32, u32, u32, u32, u32) {
594594
box_blur_vertical_pass_impl::<f16, f32>
595595
}

0 commit comments

Comments
 (0)