Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
Packages
Cabal
Commits
01016785
Commit
01016785
authored
Dec 06, 2016
by
kristenk
Committed by
GitHub
Dec 06, 2016
Browse files
Merge pull request #4153 from grayjay/revert-pr-4147
Revert "Solver: Add missing call to 'simplifyVar'."
parents
90e48b57
f5a981c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
cabal-install/Distribution/Solver/Modular/Explore.hs
View file @
01016785
...
...
@@ -72,7 +72,7 @@ getBestGoal :: ConflictMap -> P.PSQ (Goal QPN) a -> (Goal QPN, a)
getBestGoal
cm
=
P
.
maximumBy
(
flip
(
M
.
findWithDefault
0
)
cm
.
(
\
(
Goal
v
_
)
->
simplifyVar
v
)
.
(
\
(
Goal
v
_
)
->
v
)
)
getFirstGoal
::
P
.
PSQ
(
Goal
QPN
)
a
->
(
Goal
QPN
,
a
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment