[python-arrayfire] 170/250: Changing number of iterations in black scholes example

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Mon Mar 28 22:59:45 UTC 2016


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch debian/master
in repository python-arrayfire.

commit 563e39f70f6cf0e85773371c58c23c467344b304
Author: Pavan Yalamanchili <pavan at arrayfire.com>
Date:   Wed Dec 9 19:07:02 2015 -0500

    Changing number of iterations in black scholes example
---
 examples/financial/black_scholes_options.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/financial/black_scholes_options.py b/examples/financial/black_scholes_options.py
index f665428..e53a4ab 100644
--- a/examples/financial/black_scholes_options.py
+++ b/examples/financial/black_scholes_options.py
@@ -58,7 +58,7 @@ if __name__ == "__main__":
     af.eval(P)
     af.sync()
 
-    num_iter = 5
+    num_iter = 100
     for N in range(50, 501, 50):
         S = af.randu(M, N)
         X = af.randu(M, N)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/python-arrayfire.git



More information about the debian-science-commits mailing list