Skip to content

Commit 2cbfa93

Browse files
committed
[mlir][math] Fix pythong bindings after 00f7096
1 parent 706b395 commit 2cbfa93

File tree

1 file changed

+1
-1
lines changed
  • mlir/python/mlir/dialects/linalg/opdsl/lang

1 file changed

+1
-1
lines changed

mlir/python/mlir/dialects/linalg/opdsl/lang/emitter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ def _unary_log(self, x: Value) -> Value:
393393

394394
def _unary_abs(self, x: Value) -> Value:
395395
if _is_floating_point_type(x.type):
396-
return math.AbsOp(x).result
396+
return math.AbsFOp(x).result
397397
raise NotImplementedError("Unsupported 'abs' operand: {x}")
398398

399399
def _unary_ceil(self, x: Value) -> Value:

0 commit comments

Comments
 (0)