]> gitweb.michael.orlitzky.com - spline3.git/commitdiff
One-line cleanup.
authorMichael Orlitzky <michael@orlitzky.com>
Thu, 8 Sep 2011 21:35:43 +0000 (17:35 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Thu, 8 Sep 2011 21:35:43 +0000 (17:35 -0400)
src/Grid.hs

index 742360f5d799993f47ce2cb38adf3f3cfc46ae6f..e4f3d62b9a661df068ec80e837fc9d7289734ea4 100644 (file)
@@ -71,8 +71,9 @@ cubes delta fvs
                    j <- [0..ymax],
                    k <- [0..zmax],
                    let tet_vol = (1/24)*(delta^(3::Int)),
+                   let fvs' = make_values fvs i j k,
                    let cube_ijk =
-                         Cube delta i j k (make_values fvs i j k) tet_vol]
+                         Cube delta i j k fvs' tet_vol]
      where
        xmax = xsize - 1
        ymax = ysize - 1