Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update to latest vector/primitive (thanks Dirk Ullrich for the patch)

  • Loading branch information...
commit 09634b6f1410370b5f2bdf19dab9f59cc7e06e28 1 parent c8cebef
@gregorycollins authored
Showing with 4 additions and 4 deletions.
  1. +3 −3 hashtables.cabal
  2. +1 −1  src/Data/HashTable/Internal/IntArray.hs
View
6 hashtables.cabal
@@ -1,5 +1,5 @@
Name: hashtables
-Version: 1.0.1.7
+Version: 1.0.1.8
Synopsis: Mutable hash tables in the ST monad
Homepage: http://github.com/gregorycollins/hashtables
License: BSD3
@@ -171,8 +171,8 @@ Library
Build-depends: base >= 4 && <5,
hashable >= 1.1 && <2,
- primitive,
- vector >= 0.7 && < 0.10
+ primitive >= 0.4 && <0.6,
+ vector >= 0.7 && <0.11
if flag(portable)
cpp-options: -DNO_C_SEARCH -DPORTABLE
View
2  src/Data/HashTable/Internal/IntArray.hs
@@ -48,7 +48,7 @@ newArray :: Int -> ST s (IntArray s)
newArray n = do
let !sz = n * wordSizeInBytes
!arr <- A.newAlignedPinnedByteArray sz cacheLineSize
- A.memsetByteArray arr 0 0 sz
+ A.fillByteArray arr 0 sz 0
return $! IA arr
Please sign in to comment.
Something went wrong with that request. Please try again.