Skip to content

Commit 5e438a1

Browse files
committed
update
1 parent 9365930 commit 5e438a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/paddle/pir/math_op_patch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ def __impl__(self, other_var):
533533
lhs_dtype,
534534
other_var,
535535
)
536-
elif other_var is not None:
536+
else:
537537
# add fill_op to current_block
538538
other_var = paddle.tensor.creation.fill_constant(
539539
[],

0 commit comments

Comments
 (0)