]> gitweb.michael.orlitzky.com - numerical-analysis.git/blobdiff - src/Linear/Matrix.hs
Fix a bunch of hlint warnings.
[numerical-analysis.git] / src / Linear / Matrix.hs
index 20769b4708950d103bd0ec1fd18737d9616cb0ca..105acef6cc78a86914f66d68b158fce02c7e8eee 100644 (file)
@@ -431,7 +431,7 @@ instance (Algebraic.C a,
   --   5.0
   --
   norm_p p (Mat rows) =
-    (root p') $ sum [(fromRational' $ toRational x)^p' | x <- xs]
+    (root p') $ sum [fromRational' (toRational x)^p' | x <- xs]
     where
       p' = toInteger p
       xs = concat $ V.toList $ V.map V.toList rows