Skip to content

Commit

Permalink
Do not construct Simd
Browse files Browse the repository at this point in the history
  • Loading branch information
workingjubilee committed Apr 23, 2023
1 parent 4064678 commit 2b32732
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/core_simd/src/vector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -830,7 +830,7 @@ where
T: SimdElement,
{
fn from(array: [T; N]) -> Self {
Self(array)
Self::from_array(array)
}
}

Expand Down

0 comments on commit 2b32732

Please sign in to comment.