Skip to content

Commit 1ad5819

Browse files
committed
Fix duplicate StdFloat import
1 parent 01683d0 commit 1ad5819

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

crates/core_simd/examples/dot_product.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ pub fn dot_prod_simd_1(a: &[f32], b: &[f32]) -> f32 {
7272

7373
// A lot of knowledgeable use of SIMD comes from knowing specific instructions that are
7474
// available - let's try to use the `mul_add` instruction, which is the fused-multiply-add we were looking for.
75-
use std_float::StdFloat;
7675
pub fn dot_prod_simd_2(a: &[f32], b: &[f32]) -> f32 {
7776
assert_eq!(a.len(), b.len());
7877
// TODO handle remainder when a.len() % 4 != 0

0 commit comments

Comments
 (0)