forked from OSchip/llvm-project
[MLIR][NFC] Simplex::restoreRow: improve documentation
This commit is contained in:
parent
3234f2d9c1
commit
ad48ef1e31
|
@ -310,8 +310,8 @@ private:
|
|||
|
||||
/// Restore the unknown to a non-negative sample value.
|
||||
///
|
||||
/// Returns true if the unknown was successfully restored to a non-negative
|
||||
/// sample value, false otherwise.
|
||||
/// Returns success if the unknown was successfully restored to a non-negative
|
||||
/// sample value, failure otherwise.
|
||||
LogicalResult restoreRow(Unknown &u);
|
||||
|
||||
/// Compute the maximum or minimum of the specified Unknown, depending on
|
||||
|
|
|
@ -259,8 +259,8 @@ void Simplex::pivot(unsigned pivotRow, unsigned pivotCol) {
|
|||
}
|
||||
|
||||
/// Perform pivots until the unknown has a non-negative sample value or until
|
||||
/// no more upward pivots can be performed. Return the sign of the final sample
|
||||
/// value.
|
||||
/// no more upward pivots can be performed. Return success if we were able to
|
||||
/// bring the row to a non-negative sample value, and failure otherwise.
|
||||
LogicalResult Simplex::restoreRow(Unknown &u) {
|
||||
assert(u.orientation == Orientation::Row &&
|
||||
"unknown should be in row position");
|
||||
|
|
Loading…
Reference in New Issue