From: Michael Orlitzky Date: Mon, 29 Aug 2011 23:01:54 +0000 (-0400) Subject: Increase theta by an order of magnitude, fixing one particularly bad case. X-Git-Tag: 0.0.1~205 X-Git-Url: http://gitweb.michael.orlitzky.com/?p=spline3.git;a=commitdiff_plain;h=e45d789d67d3c4f38c84c7fde65836452e0794af Increase theta by an order of magnitude, fixing one particularly bad case. --- diff --git a/src/Comparisons.hs b/src/Comparisons.hs index 4a81444..d033159 100644 --- a/src/Comparisons.hs +++ b/src/Comparisons.hs @@ -10,7 +10,7 @@ epsilon = 0.0001 -- | A tiny margin of error. theta :: Double -theta = 0.00000000000001 +theta = 0.0000000000001 -- | x almost equals y if x is within 'theta' of y. nearly_equals :: Double -> Double -> Bool