From 655c4ea9d04483e2f2a0f0b28949498bfd0e6925 Mon Sep 17 00:00:00 2001 From: Michael Zargham Date: Sun, 11 Aug 2019 13:31:49 +0200 Subject: [PATCH] Ported math change from my python test S0 needed to S_next in line 282 --- src/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.tsx b/src/App.tsx index dbd38ca..95a46dd 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -279,7 +279,7 @@ export default function App() { const S_next = getS({ R, V0, k }); const floorprice_next = getMinPrice({ S: S_next, - H: S0 - H_next, + H: S_next - H_next, V0, k });