]> gitweb.michael.orlitzky.com - spline3.git/blobdiff - src/Values.hs
Add the theta tolerance and nearly_equals, nearly_ge comparisons.
[spline3.git] / src / Values.hs
index 1b8548e026a52195cd7a739351f0e4a90a1c95e0..0ef8410813e80729e09a0af3ec4a162bd7868814 100644 (file)
@@ -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