forked from OSchip/llvm-project
[MLIR][Presburger] Simplex::computeOptimum: slightly simplify code (NFC)
This commit is contained in:
parent
3bdcf3bfc1
commit
18a06d4f3a
|
@ -1333,8 +1333,7 @@ MaybeOptimum<Fraction> Simplex::computeOptimum(Direction direction,
|
|||
SimplexRollbackScopeExit scopeExit(*this);
|
||||
unsigned conIndex = addRow(coeffs);
|
||||
unsigned row = con[conIndex].pos;
|
||||
MaybeOptimum<Fraction> optimum = computeRowOptimum(direction, row);
|
||||
return optimum;
|
||||
return computeRowOptimum(direction, row);
|
||||
}
|
||||
|
||||
MaybeOptimum<Fraction> Simplex::computeOptimum(Direction direction,
|
||||
|
|
Loading…
Reference in New Issue