Skip to content

Commit 0218c36

Browse files
committed
rename sgn_inplace to sign_inplace
1 parent 5287ab0 commit 0218c36

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pytensor/tensor/inplace.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def log10_inplace(a):
104104

105105

106106
@scalar_elemwise
107-
def sgn_inplace(a):
107+
def sign_inplace(a):
108108
"""sign of `a` (inplace on `a`)"""
109109

110110

tests/tensor/test_inplace.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
reciprocal_inplace,
3939
round_half_away_from_zero_inplace,
4040
round_half_to_even_inplace,
41-
sgn_inplace,
41+
sign_inplace,
4242
sin_inplace,
4343
sinh_inplace,
4444
sqr_inplace,
@@ -177,7 +177,7 @@
177177
)
178178

179179
TestSgnInplaceBroadcast = makeBroadcastTester(
180-
op=sgn_inplace,
180+
op=sign_inplace,
181181
expected=np.sign,
182182
good=_good_broadcast_unary_normal_no_complex,
183183
inplace=True,

0 commit comments

Comments
 (0)