1
0
Fork 0

Correctly output decision map when debugging

pull/72/head
Nils Adermann 2011-10-29 20:04:52 +02:00
parent 85d38c653f
commit 3e0e893f26
1 changed files with 4 additions and 1 deletions

View File

@ -2047,8 +2047,11 @@ class Solver
public function printDecisionMap()
{
echo "DecisionMap: \n";
echo "\nDecisionMap: \n";
foreach ($this->decisionMap as $packageId => $level) {
if ($packageId === 0) {
continue;
}
if ($level > 0) {
echo ' +' . $this->pool->packageById($packageId) . "\n";
} else {