Skip to content

Commit

Permalink
remove explicit type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
torfmaster committed Aug 20, 2024
1 parent c96d460 commit 242b383
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/imageops/fast_blur.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ fn horizontal_fast_blur_half<P: Primitive>(
) -> Vec<P> {
let channel_size = width * height;

let mut out_samples: Vec<P> = vec![P::from(0).unwrap(); channel_size * channel_num];
let mut out_samples = vec![P::from(0).unwrap(); channel_size * channel_num];
let mut vals = vec![0.0; channel_num];

let min_value = P::DEFAULT_MIN_VALUE.to_f32().unwrap();
Expand Down

0 comments on commit 242b383

Please sign in to comment.