]> gitweb.michael.orlitzky.com - numerical-analysis.git/blobdiff - src/BigFloat.hs
Add type synonyms for column/row matrices.
[numerical-analysis.git] / src / BigFloat.hs
index 4c57aadeb1e5f851976cc30414e0a7c6edf3fcea..cc228bead187898a255eae3d3200a4edad546d10 100644 (file)
@@ -22,7 +22,7 @@ type R = BigFloat Prec50
 
 instance Epsilon e => Additive.C (BigFloat e) where
   (+) = (P.+)
-  zero = (P.fromInteger 0)
+  zero = 0
   negate = (P.negate)
 
 instance Epsilon e => Ring.C (BigFloat e) where