From: Michael Orlitzky Date: Tue, 30 Aug 2011 18:17:26 +0000 (-0400) Subject: Fix two minor hLint warnings. X-Git-Tag: 0.0.1~198 X-Git-Url: http://gitweb.michael.orlitzky.com/?p=spline3.git;a=commitdiff_plain;h=cb5b361ea78acd6f8c04cd864adc15edd90299db Fix two minor hLint warnings. --- diff --git a/src/Misc.hs b/src/Misc.hs index 090642a..9dcbac9 100644 --- a/src/Misc.hs +++ b/src/Misc.hs @@ -47,7 +47,7 @@ transpose_xz m = where zsize = (length m) - 1 ysize = length (head m) - 1 - xsize = (length $ head $ head m) - 1 + xsize = length (head $ head m) - 1 -- | Takes a list, and returns True if its elements are pairwise -- equal. Returns False otherwise. diff --git a/src/Tests/Grid.hs b/src/Tests/Grid.hs index f72d312..d06e1e9 100644 --- a/src/Tests/Grid.hs +++ b/src/Tests/Grid.hs @@ -21,7 +21,7 @@ import ThreeDimensional -- values. See example one in the paper. trilinear_c0_t0_coefficient_tests :: Test.Framework.Test trilinear_c0_t0_coefficient_tests = - testGroup "trilinear c0 t0 coefficients" $ + testGroup "trilinear c0 t0 coefficients" [testCase "c0030 is correct" test_trilinear_c0030, testCase "c0003 is correct" test_trilinear_c0003, testCase "c0021 is correct" test_trilinear_c0021,