Skip to content

Commit

Permalink
non-integer Spec: Fix incomplete pattern match warning
Browse files Browse the repository at this point in the history
  • Loading branch information
erikd committed Jun 19, 2019
1 parent 3133208 commit 1086d02
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -132,7 +132,9 @@ prop_LeaderCmp (Positive q) (Positive q') (Positive a) (Positive a') =
let result = taylorExpCmp 3 (1/(1 - p_)) (-sigma*c) in
(case result of
ABOVE _ _ -> p_ >= (1 - ((1 - f) *** sigma))
BELOW _ _ -> p_ < (1 - ((1 - f) *** sigma)))
BELOW _ _ -> p_ < (1 - ((1 - f) *** sigma))
UNKNOWN -> False
)
where (p, p') = normalizeInts q q'
(s, s') = normalizeInts a a'
p''' = fromIntegral p' :: FixedPoint
Expand Down

0 comments on commit 1086d02

Please sign in to comment.