From 1c8649fdcd9f56cca5b191ae3cbaec4977569380 Mon Sep 17 00:00:00 2001 From: Shivesh Mandalia Date: Mon, 20 Apr 2020 00:03:47 +0100 Subject: Linting, type checking --- run.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'run.py') 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) -- cgit v1.2.3