Skip to content

Commit fa324de

Browse files
committed
Fix
1 parent 7e472d2 commit fa324de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/paddle/tensor/linalg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4169,7 +4169,7 @@ def pinv(
41694169
return out_2
41704170
else:
41714171
# combine eigh and matmul op
4172-
s, u = _C_ops.eigh(x, 'UPLO')
4172+
s, u = _C_ops.eigh(x, 'L')
41734173
s_abs = paddle.abs(s)
41744174
max_singular_val = _C_ops.max(s_abs, [-1], True)
41754175
rcond = paddle.to_tensor(rcond, dtype=s.dtype)

0 commit comments

Comments
 (0)