X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=src%2FPoint.hs;h=54c4f72913f37611bdf81861a30af49204dc50ce;hb=25e5b7ede93ded8e1ed0fc81f4c3979ff500309d;hp=8b720cf193c8a94b2963e4c75f78a194cd8dd87d;hpb=a499efdb0e215ac424fe7c38a52430daebefc22b;p=spline3.git diff --git a/src/Point.hs b/src/Point.hs index 8b720cf..54c4f72 100644 --- a/src/Point.hs +++ b/src/Point.hs @@ -32,7 +32,7 @@ instance Num Point where fromInteger n = Point coord coord coord where - coord = fromInteger n + coord = fromInteger n :: Double -- | Scale a point by a constant.