From 92375e2d232538c72e9dfe7d6f067dfcc7e5979f Mon Sep 17 00:00:00 2001 From: Shivesh Mandalia Date: Sun, 22 Mar 2020 17:02:29 +0000 Subject: update examples --- utils/path.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'utils/path.py') diff --git a/utils/path.py b/utils/path.py index 6855b7f..2fbb48f 100644 --- a/utils/path.py +++ b/utils/path.py @@ -43,9 +43,9 @@ class PathGenerator: >>> from utils.path import PathGenerator >>> path = PathGenerator(S=100., r=0.1, div=0.01, vol=0.3) >>> print(path.generate(T=range(4))) - [100.0, 91.11981160354563, 94.87596210593794, 117.44132223235353] + [100.0, 100.33539853588853, 122.76017088387074, 142.29540684005462] >>> print(path.generate(T=range(4))) - [100.0, 68.73668230722738, 71.43490333826567, 70.70833180133955] + [100.0, 73.03094019139712, 77.37310245438943, 66.54240939439934] """ S: float -- cgit v1.2.3