X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=src%2FValues.hs;h=0ef8410813e80729e09a0af3ec4a162bd7868814;hb=d1ee387490ef0ada8781f4bf81f82cce7f0006ba;hp=1b8548e026a52195cd7a739351f0e4a90a1c95e0;hpb=3cf6c69c9c7fed364b13fa54ee78209f7485d304;p=spline3.git diff --git a/src/Values.hs b/src/Values.hs index 1b8548e..0ef8410 100644 --- a/src/Values.hs +++ b/src/Values.hs @@ -1,4 +1,4 @@ -{-# LANGUAGE TypeSynonymInstances #-} +{-# LANGUAGE FlexibleInstances #-} module Values where @@ -79,7 +79,7 @@ idx v3d i j k = index v3d shape where shape :: DIM3 - shape = (Z :. i :. j :. k) + shape = (Z :. k :. j :. i) zoom_shape :: Int -> DIM3 -> DIM3