]> gitweb.michael.orlitzky.com - spline3.git/blobdiff - src/Main.hs
Fix some more hLint warnings.
[spline3.git] / src / Main.hs
index ef04e1e9cce656718dbb9466c09e0978495d4793..c8ba34554feb27bb2cd4f0f2d16aa36b0f3bd34a 100644 (file)
@@ -18,7 +18,7 @@ mri_shape = (Z :. 256 :. 256 :. 1)
 main :: IO ()
 main = do
   args <- getArgs
-  let color = args !! 0
+  let color = head args
   let in_file  = "./data/MRbrain.40." ++ color
   let out_file = "MRbrain.40." ++ color ++ ".out"
   mridata <- read_values_3d mri_shape in_file