Skip to content

Commit 915adf7

Browse files
authored
Some fixes in python level for exp and log (#537)
1 parent 1a4d14f commit 915adf7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dpnp/dpnp_iface_trigonometric.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ def exp(x1):
518518
if not isinstance(x1, dparray):
519519
pass
520520
else:
521-
dpnp_exp(x1)
521+
return dpnp_exp(x1)
522522

523523
return call_origin(numpy.exp, x1)
524524

@@ -666,7 +666,7 @@ def log(x1):
666666
if not isinstance(x1, dparray):
667667
pass
668668
else:
669-
dpnp_log(x1)
669+
return dpnp_log(x1)
670670

671671
return call_origin(numpy.log, x1)
672672

0 commit comments

Comments
 (0)