Update the Values.idx function to silently switch the 'x' and 'z' dimensions.
test_directions =
assertTrue "all direction functions work" (and equalities)
where
test_directions =
assertTrue "all direction functions work" (and equalities)
where
- fvs = make_values trilinear_repa 1 1 1
+ fvs = make_values trilinear 1 1 1
equalities = [ interior fvs == 4,
front fvs == 1,
back fvs == 7,
equalities = [ interior fvs == 4,
front fvs == 1,
back fvs == 7,
index v3d shape
where
shape :: DIM3
index v3d shape
where
shape :: DIM3
- shape = (Z :. i :. j :. k)
+ shape = (Z :. k :. j :. i)
zoom_shape :: Int -> DIM3 -> DIM3
zoom_shape :: Int -> DIM3 -> DIM3