Skip to content

Commit

Permalink
Merge pull request haskell-repa#15 from lehins/append
Browse files Browse the repository at this point in the history
  • Loading branch information
tmcdonell committed Aug 21, 2017
2 parents 8639803 + ac13a94 commit be40870
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions repa/Data/Array/Repa/Operators/IndexSpace.hs
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ append arr1 arr2
where
(_ :. n) = extent arr1

fnExtent (sh :. i) (_ :. j)
= sh :. (i + j)
fnExtent (sh1 :. i) (sh2 :. j)
= intersectDim sh1 sh2 :. (i + j)

fnElem f1 f2 (sh :. i)
| i < n = f1 (sh :. i)
Expand Down

0 comments on commit be40870

Please sign in to comment.