Skip to content

Commit fd7e824

Browse files
committed
Fix typo
1 parent 24c86ec commit fd7e824

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mlir/lib/Dialect/Math/Transforms/PolynomialApproximation.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1767,7 +1767,7 @@ void mlir::populatePolynomialApproximateErfPattern(
17671767
void mlir::populatePolynomialApproximateErfcPattern(
17681768
RewritePatternSet &patterns) {
17691769
patterns.add<ErfcPolynomialApproximation>(patterns.getContext());
1770-
1770+
}
17711771

17721772
template <typename OpType>
17731773
static void
@@ -1881,7 +1881,7 @@ void mlir::populateMathPolynomialApproximationPatterns(
18811881
math::TanhOp::getOperationName(), math::LogOp::getOperationName(),
18821882
math::Log2Op::getOperationName(),
18831883
math::Log1pOp::getOperationName(), math::ErfOp::getOperationName(),
1884-
math::ErcfOp::getOperationName(), math::AsinOp::getOperationName(),
1884+
math::ErfcOp::getOperationName(), math::AsinOp::getOperationName(),
18851885
math::AcosOp::getOperationName(), math::ExpOp::getOperationName(),
18861886
math::ExpM1Op::getOperationName(),
18871887
math::CbrtOp::getOperationName(), math::SinOp::getOperationName(),

0 commit comments

Comments
 (0)