remove non-functional code

This commit is contained in:
Slava Kim
2014-04-25 14:38:06 -07:00
parent d45858bb90
commit 63cfa0b9ba

View File

@@ -119,12 +119,6 @@ ConstraintSolver.Resolver.prototype.resolve =
var solution = null;
while (! pq.empty()) {
var currentState = pq.pop();
var tentativeCost =
costFunction(currentState.choices, opts) +
estimateCostFunction(currentState, opts);
if (tentativeCost === Infinity)
break;
if (currentState.dependencies.isEmpty()) {
solution = currentState.choices;