Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5df58fa

Browse files
committed
changed np.multiply to simple multiplication
1 parent 26536ba commit 5df58fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/pylab_examples/arctest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ def f(t):
55
'a damped exponential'
66
s1 = np.cos(2*np.pi*t)
77
e1 = np.exp(-t)
8-
return np.multiply(s1, e1)
8+
return s1 * e1
99

1010
t1 = np.arange(0.0, 5.0, .2)
1111

0 commit comments

Comments
 (0)