Skip to content

Commit 8731e31

Browse files
authored
Merge pull request #749 from TheIronBorn/patch-11
Inline Standard's SIMD float cast
2 parents e37a295 + b6768e1 commit 8731e31

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/distributions/utils.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,7 @@ macro_rules! simd_impl {
383383
<$ty>::from_bits(<$uty>::from_bits(self) + <$uty>::from_bits(mask))
384384
}
385385
type UInt = $uty;
386+
#[inline]
386387
fn cast_from_int(i: Self::UInt) -> Self { i.cast() }
387388
}
388389
}

0 commit comments

Comments
 (0)