From c4074e893e06983a80a82395dfa84c55a4c00024 Mon Sep 17 00:00:00 2001 From: Jarrett Ye Date: Mon, 9 Dec 2024 16:24:11 +0800 Subject: [PATCH] update simulator --- src/fsrs_optimizer/fsrs_simulator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fsrs_optimizer/fsrs_simulator.py b/src/fsrs_optimizer/fsrs_simulator.py index 300b046..68fe276 100644 --- a/src/fsrs_optimizer/fsrs_simulator.py +++ b/src/fsrs_optimizer/fsrs_simulator.py @@ -106,7 +106,7 @@ def stability_after_failure(s, r, d): * np.power(d, -w[12]) * (np.power(s + 1, w[13]) - 1) * np.exp((1 - r) * w[14]), - s, + s / np.exp(w[17] * w[18]), ), )