From 3dbeda9082804e81d46905aff8e928a6aac75106 Mon Sep 17 00:00:00 2001 From: Xinyu Yang Date: Fri, 1 Nov 2024 21:10:38 +0800 Subject: [PATCH] [Stablehlo] fix template typo (#3842) I think we should use template parameters. @yyp0 @qingyunqu --- lib/Conversion/TorchToStablehlo/Basic.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Conversion/TorchToStablehlo/Basic.cpp b/lib/Conversion/TorchToStablehlo/Basic.cpp index 4f521fb9e..3d01734f9 100644 --- a/lib/Conversion/TorchToStablehlo/Basic.cpp +++ b/lib/Conversion/TorchToStablehlo/Basic.cpp @@ -941,7 +941,7 @@ public: matchAndRewrite(AtenOpT op, OpAdaptor adaptor, ConversionPatternRewriter &rewriter) const override { auto outType = cast( - OpConversionPattern::getTypeConverter()->convertType( + OpConversionPattern::getTypeConverter()->convertType( op.getType())); Type outElemTy = outType.getElementType();