Package ids are always positive, so use absolute literal value for package id
parent
6c2e4ed357
commit
6d157b325d
|
@ -934,7 +934,7 @@ class Solver
|
|||
|
||||
protected function literalFromId($id)
|
||||
{
|
||||
$package = $this->pool->packageById($id);
|
||||
$package = $this->pool->packageById(abs($id));
|
||||
return new Literal($package, $id > 0);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue