Skip to content

Commit

Permalink
Another place dimensions should be reversed
Browse files Browse the repository at this point in the history
  • Loading branch information
robeverest committed Aug 27, 2014
1 parent bf73d55 commit 7924c8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Data/Array/Accelerate/Math/FFT.hs
Original file line number Diff line number Diff line change
Expand Up @@ -274,8 +274,8 @@ cudaFFT mode sh = cudaFFT'
hndl = unsafePerformIO $ do
plan <- case shapeToList sh of
[width] -> plan1D width types 1
[height, width] -> plan2D height width types
[depth, height, width] -> plan3D depth height width types
[width, height] -> plan2D height width types
[width, height, depth] -> plan3D depth height width types
_ -> error "Accelerate-fft cannot use CUFFT for arrays of dimensions higher than 3"
addFinalizer plan (destroy plan)
return plan
Expand Down

0 comments on commit 7924c8a

Please sign in to comment.