X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;ds=sidebyside;f=src%2FValues.hs;h=3833135c720b7c0abe2e9c8c54e7334b1124383e;hb=e45d789d67d3c4f38c84c7fde65836452e0794af;hp=61e3a11d3c2cd274afb5963bd5ba4091c8d4df86;hpb=043d7296b08add8050a54c463d06c78b06eb9838;p=spline3.git diff --git a/src/Values.hs b/src/Values.hs index 61e3a11..3833135 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 :. k :. j :. i) + shape = (Z :. i :. j :. k) zoom_shape :: Int -> DIM3 -> DIM3