Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions mlir/include/mlir/Analysis/Presburger/IntegerRelation.h
Original file line number Diff line number Diff line change
Expand Up @@ -917,7 +917,7 @@ class IntegerPolyhedron : public IntegerRelation {
/// Constructs a relation with the specified number of dimensions and symbols
/// and adds the given inequalities.
explicit IntegerPolyhedron(const PresburgerSpace &space,
IntMatrix inequalities)
const IntMatrix &inequalities)
: IntegerPolyhedron(space) {
for (unsigned i = 0, e = inequalities.getNumRows(); i < e; i++)
addInequality(inequalities.getRow(i));
Expand All @@ -927,7 +927,7 @@ class IntegerPolyhedron : public IntegerRelation {
/// and adds the given inequalities, after normalizing row-wise to integer
/// values.
explicit IntegerPolyhedron(const PresburgerSpace &space,
FracMatrix inequalities)
const FracMatrix &inequalities)
: IntegerPolyhedron(space) {
IntMatrix ineqsNormalized = inequalities.normalizeRows();
for (unsigned i = 0, e = inequalities.getNumRows(); i < e; i++)
Expand Down