]> gitweb.michael.orlitzky.com - spline3.git/blobdiff - src/Values.hs
Un-transpose the x,z coordinates in the Values.idx function.
[spline3.git] / src / Values.hs
index 0ef8410813e80729e09a0af3ec4a162bd7868814..3833135c720b7c0abe2e9c8c54e7334b1124383e 100644 (file)
@@ -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