projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54dbdcf
)
[project @ 1997-12-19 10:37:59 by simonm]
author
simonm
<unknown>
Fri, 19 Dec 1997 10:37:59 +0000
(10:37 +0000)
committer
simonm
<unknown>
Fri, 19 Dec 1997 10:37:59 +0000
(10:37 +0000)
fix bug in sameVal on ApproxFuns.
ghc/compiler/stranal/SaAbsInt.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/stranal/SaAbsInt.lhs
b/ghc/compiler/stranal/SaAbsInt.lhs
index
c2038d6
..
f5e5aab
100644
(file)
--- a/
ghc/compiler/stranal/SaAbsInt.lhs
+++ b/
ghc/compiler/stranal/SaAbsInt.lhs
@@
-321,7
+321,7
@@
sameVal (AbsProd vals1) (AbsProd vals2) = and (zipWithEqual "sameVal" sameVal va
sameVal (AbsProd _) AbsTop = False
sameVal (AbsProd _) AbsBot = False
-sameVal (AbsApproxFun str1 v1) (AbsApproxFun str2 v2) = str1 == str2 && sameVal v1 v1
+sameVal (AbsApproxFun str1 v1) (AbsApproxFun str2 v2) = str1 == str2 && sameVal v1 v2
sameVal (AbsApproxFun _ _) AbsTop = False
sameVal (AbsApproxFun _ _) AbsBot = False