Skip to content

Commit 563e39f

Browse files
committed
Changing number of iterations in black scholes example
1 parent caeef36 commit 563e39f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/financial/black_scholes_options.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def black_scholes(S, X, R, V, T):
5858
af.eval(P)
5959
af.sync()
6060

61-
num_iter = 5
61+
num_iter = 100
6262
for N in range(50, 501, 50):
6363
S = af.randu(M, N)
6464
X = af.randu(M, N)

0 commit comments

Comments
 (0)