aboutsummaryrefslogtreecommitdiffstats
path: root/run.py
diff options
context:
space:
mode:
Diffstat (limited to 'run.py')
-rwxr-xr-xrun.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/run.py b/run.py
index 6a280e8..e8ec3f1 100755
--- a/run.py
+++ b/run.py
@@ -210,11 +210,10 @@ options, and thus this is priced in.''')
def main() -> None:
- """Main function."""
random.seed(1)
# Define number of trials to run
- ntrials_arr = [1E4, 1E5, 1E6]
+ ntrials_arr = list(map(int, [1e4, 1e5, 1e6]))
# Pricing Asian options
asian_options(ntrials_arr)