diff --git a/vector/src/Data/Vector/Generic.hs b/vector/src/Data/Vector/Generic.hs index 85e2f6db..389a1719 100644 --- a/vector/src/Data/Vector/Generic.hs +++ b/vector/src/Data/Vector/Generic.hs @@ -2650,7 +2650,7 @@ clone :: Vector v a => v a -> New v a {-# INLINE_FUSED clone #-} clone v = v `seq` New.create ( do - mv <- M.new (basicLength v) + mv <- M.unsafeNew (basicLength v) unsafeCopy mv v return mv)