We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f46851 commit 3024c80Copy full SHA for 3024c80
ghcide/src/Text/Fuzzy/Parallel.hs
@@ -132,7 +132,7 @@ parVectorChunk chunkSize st v =
132
chunkVector :: Int -> Vector a -> [Vector a]
133
chunkVector chunkSize v = do
134
let indices = chunkIndices chunkSize (0,V.length v)
135
- [V.slice l (h-l) v | (l,h) <- indices]
+ [V.slice l (h-l+1) v | (l,h) <- indices]
136
137
-- >>> chunkIndices 3 (0,9)
138
-- >>> chunkIndices 3 (0,10)
0 commit comments