1
0
Fork 0

Package ids are always positive, so use absolute literal value for package id

pull/9/head
Nils Adermann 2011-08-20 12:32:31 -04:00
parent 6c2e4ed357
commit 6d157b325d
1 changed files with 1 additions and 1 deletions

View File

@ -934,7 +934,7 @@ class Solver
protected function literalFromId($id) protected function literalFromId($id)
{ {
$package = $this->pool->packageById($id); $package = $this->pool->packageById(abs($id));
return new Literal($package, $id > 0); return new Literal($package, $id > 0);
} }