Skip to content

Commit 17a775d

Browse files
committed
decapitalize and remove period
1 parent 9d7a333 commit 17a775d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

mlir/lib/Dialect/Polynomial/IR/PolynomialOps.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ LogicalResult FromTensorOp::verify() {
3939
<< "input type " << getInput().getType()
4040
<< " does not match output type "
4141
<< getOutput().getType();
42-
diag.attachNote() << "The input type must be a tensor of shape [d] where d "
42+
diag.attachNote() << "the input type must be a tensor of shape [d] where d "
4343
"is at most the degree of the polynomialModulus of "
44-
"the output type's ring attribute.";
44+
"the output type's ring attribute";
4545
return diag;
4646
}
4747

@@ -55,8 +55,8 @@ LogicalResult FromTensorOp::verify() {
5555
<< getInput().getType().getElementType()
5656
<< " is too large to fit in the coefficients of "
5757
<< getOutput().getType();
58-
diag.attachNote() << "The input tensor's elements must be rescaled"
59-
" to fit before using from_tensor.";
58+
diag.attachNote() << "the input tensor's elements must be rescaled"
59+
" to fit before using from_tensor";
6060
return diag;
6161
}
6262

@@ -79,9 +79,9 @@ LogicalResult ToTensorOp::verify() {
7979
InFlightDiagnostic diag =
8080
emitOpError() << "input type " << getInput().getType()
8181
<< " does not match output type " << getOutput().getType();
82-
diag.attachNote() << "The input type must be a tensor of shape [d] where d "
82+
diag.attachNote() << "he input type must be a tensor of shape [d] where d "
8383
"is at most the degree of the polynomialModulus of "
84-
"the output type's ring attribute.";
84+
"the output type's ring attribute";
8585
return diag;
8686
}
8787

0 commit comments

Comments
 (0)