File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -198,7 +198,7 @@ copy_par src0 src_offset0 dst0 dst_offset0 len0 = copy_par' src0 src_offset0 dst
198198 then copy src src_offset dst dst_offset len
199199 else let ! half = len `div ` 2
200200 ! (src_l , src_r ) = splitAt half src
201- ! (dst_l , dst_r ) = splitAt ( len - half ) dst
201+ ! (dst_l , dst_r ) = splitAt half dst
202202 left = copy_par' src_l 0 dst_l 0 half
203203 right = copy_par' src_r 0 dst_r 0 (len - half )
204204 in left `par ` right `pseq ` append left right
@@ -218,7 +218,7 @@ copy_par_m !src0 src_offset0 !dst0 dst_offset0 !len0 = copy_par_m' src0 src_offs
218218 else do
219219 let ! half = len `div ` 2
220220 ! (src_l , src_r ) = splitAt half src
221- ! (dst_l , dst_r ) = splitAt ( len - half ) dst
221+ ! (dst_l , dst_r ) = splitAt half dst
222222 ! left_f <- P.spawn_ $ copy_par_m' src_l 0 dst_l 0 half
223223 ! right <- copy_par_m' src_r 0 dst_r 0 (len - half )
224224 ! left <- P.get left_f
You can’t perform that action at this time.
0 commit comments