File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -457,7 +457,7 @@ unsafeSlice :: Vector v a => Int -- ^ @i@ starting index
457
457
-> v a
458
458
-> v a
459
459
{-# INLINE_FUSED unsafeSlice #-}
460
- unsafeSlice i n v = checkSlice Unsafe i n (length v) $ basicUnsafeSlice i n v
460
+ unsafeSlice ! i ! n v = checkSlice Unsafe i n (length v) $ basicUnsafeSlice i n v
461
461
462
462
-- | /O(1)/ Yield all but the last element without copying. The vector may not
463
463
-- be empty, but this is not checked.
Original file line number Diff line number Diff line change @@ -425,8 +425,8 @@ unsafeSlice :: MVector v a => Int -- ^ starting index
425
425
-> v s a
426
426
-> v s a
427
427
{-# INLINE unsafeSlice #-}
428
- unsafeSlice i n v = checkSlice Unsafe i n (length v)
429
- $ basicUnsafeSlice i n v
428
+ unsafeSlice ! i ! n v = checkSlice Unsafe i n (length v)
429
+ $ basicUnsafeSlice i n v
430
430
431
431
-- | Same as 'init', but doesn't do range checks.
432
432
unsafeInit :: MVector v a => v s a -> v s a
You can’t perform that action at this time.
0 commit comments