1
0
Fork 0

Remove unnecessary abs() calls

Literal cannot be negative at this point
pull/7457/head
Markus Staab 2018-07-10 20:49:24 +02:00 committed by GitHub
parent f24fcea35b
commit e3a23f4ae6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -796,10 +796,10 @@ class Solver
continue 2; // next rule
}
} else {
if ($this->decisions->decidedInstall(abs($literal))) {
if ($this->decisions->decidedInstall($literal)) {
continue 2; // next rule
}
if ($this->decisions->undecided(abs($literal))) {
if ($this->decisions->undecided($literal)) {
$decisionQueue[] = $literal;
}
}